Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 197.2 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.2 MB / 0.6643 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5101/0.5114, allocations: 140.4 MB / 0.9491 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.001585/0.513, allocations: 0.7646 MB / 0.9498 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005907/0.5136, allocations: 0.8014 MB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.5136, allocations: 1.375 kB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.652e-05/0.5137, allocations: 4 kB / 0.9506 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.5137, allocations: 5.312 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 7.303e-05/0.5138, allocations: 9.359 kB / 0.9506 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.5139, allocations: 41.73 kB / 0.9507 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.514, allocations: 16.05 kB / 0.9507 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.514, allocations: 13.48 kB / 0.9507 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.5141, allocations: 17.42 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.5141, allocations: 2.75 kB / 0.9507 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.5141, allocations: 6.75 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.5141, allocations: 11.92 kB / 0.9507 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.5141, allocations: 16.05 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.228e-05/0.5142, allocations: 34.75 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5142, allocations: 1.375 kB / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5142, allocations: 0 / 0.9508 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.5142, allocations: 3.938 kB / 0.9508 GB, free: 7.836 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003735/0.5146, allocations: 372.9 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5147, allocations: 9.625 kB / 0.9511 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.489e-05/0.5147, allocations: 36.12 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.109e-05/0.5147, allocations: 2.312 kB / 0.9512 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.635e-05/0.5148, allocations: 171 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5148, allocations: 1.75 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.5148, allocations: 1.75 kB / 0.9513 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.515, allocations: 76.14 kB / 0.9514 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.515, allocations: 3.938 kB / 0.9514 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.515, allocations: 4 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.515, allocations: 5.312 kB / 0.9514 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.5153, allocations: 63.02 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.5156, allocations: 266.9 kB / 0.9517 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.5157, allocations: 60.16 kB / 0.9518 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.5159, allocations: 40.58 kB / 0.9518 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.5159, allocations: 3.984 kB / 0.9518 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.5159, allocations: 32 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.5159, allocations: 4 kB / 0.9519 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0004712/0.5164, allocations: 126.3 kB / 0.952 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.652e-05/0.5164, allocations: 51.41 kB / 0.952 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.5165, allocations: 115.5 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.5165, allocations: 27.08 kB / 0.9522 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.101e-05/0.5165, allocations: 93.22 kB / 0.9523 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.5165, allocations: 9.188 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.5166, allocations: 16.5 kB / 0.9523 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.5166, allocations: 316.1 kB / 0.9526 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.5167, allocations: 29.56 kB / 0.9526 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.5169, allocations: 37.19 kB / 0.9527 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.5171, allocations: 72.5 kB / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5171, allocations: 0 / 0.9527 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002723/0.5174, allocations: 101.3 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5174, allocations: 4.844 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.5174, allocations: 7.922 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.5174, allocations: 1.062 kB / 0.9528 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.5176, allocations: 18.77 kB / 0.9529 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.5176, allocations: 3.938 kB / 0.9529 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.086e-05/0.5176, allocations: 10.48 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.5177, allocations: 1.281 kB / 0.9529 GB, free: 5.809 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/0.5177, allocations: 116.4 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.5177, allocations: 1.5 kB / 0.953 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.518, allocations: 108.6 kB / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5181, allocations: 1.375 kB / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5181, allocations: 0 / 0.9531 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5181, allocations: 4.031 kB / 0.9531 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.5182, allocations: 173.3 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5182, allocations: 1 kB / 0.9533 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.937e-05/0.5183, allocations: 18.52 kB / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5183, allocations: 0 / 0.9533 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.5183, allocations: 5.422 kB / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5183, allocations: 0 / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5183, allocations: 0 / 0.9533 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.5186, allocations: 200.5 kB / 0.9535 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.5186, allocations: 82.2 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.5186, allocations: 1.281 kB / 0.9536 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/0.5187, allocations: 14.34 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.169e-05/0.5188, allocations: 2.406 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.5188, allocations: 1.25 kB / 0.9536 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.5188, allocations: 92.64 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5188, allocations: 0 / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002007/0.519, allocations: 6.625 kB / 0.9537 GB, free: 5.02 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004458/0.5195, allocations: 0.7372 MB / 0.9544 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000273/0.5198, allocations: 67.73 kB / 0.9544 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5198, allocations: 0 / 0.9544 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.5199, allocations: 39.94 kB / 0.9545 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.5202, allocations: 11.67 kB / 0.9545 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.5205, allocations: 157.4 kB / 0.9546 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.031e-05/0.5206, allocations: 0.6842 MB / 0.9553 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.734e-05/0.5206, allocations: 1.188 kB / 0.9553 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.5207, allocations: 17.34 kB / 0.9553 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5207, allocations: 0 / 0.9553 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.969/2.49, allocations: 1.354 MB / 0.9567 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001449/2.49, allocations: 205 kB / 0.9569 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.075/4.565, allocations: 0 / 0.9569 GB, free: 2.426 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Min.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches