Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.001201/0.001201, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001228/0.001228, allocations: 191.2 kB / 16.13 MB, free: 6.645 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.559 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.307/2.307, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5668/0.5685, allocations: 140.3 MB / 0.949 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001966/0.5705, allocations: 1.321 MB / 0.9503 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.5739, allocations: 2.929 MB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.602e-05/0.574, allocations: 4 kB / 0.9532 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.574, allocations: 1.594 kB / 0.9532 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.5741, allocations: 11.91 kB / 0.9532 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.5744, allocations: 90.34 kB / 0.9533 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.475e-05/0.5745, allocations: 33.78 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.565e-05/0.5745, allocations: 1.844 kB / 0.9533 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.5749, allocations: 154.8 kB / 0.9535 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.98e-05/0.5749, allocations: 11.48 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.5749, allocations: 1.406 kB / 0.9535 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.5751, allocations: 64.83 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.5751, allocations: 9.312 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.5751, allocations: 15.61 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.5753, allocations: 66.36 kB / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5753, allocations: 0 / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 5.21e-07/0.5753, allocations: 0 / 0.9536 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.795e-06/0.5753, allocations: 1.125 kB / 0.9536 GB, free: 5.406 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002481/0.5755, allocations: 352.4 kB / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.5756, allocations: 8.812 kB / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.399e-05/0.5756, allocations: 40.03 kB / 0.954 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.5757, allocations: 7.438 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.624e-05/0.5757, allocations: 161.8 kB / 0.9542 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.5757, allocations: 1.75 kB / 0.9542 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.5757, allocations: 12.16 kB / 0.9542 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.281e-05/0.5758, allocations: 53.73 kB / 0.9542 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.851e-06/0.5759, allocations: 9.609 kB / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.5759, allocations: 0 / 0.9543 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.5759, allocations: 5.219 kB / 0.9543 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.261e-05/0.5759, allocations: 21.88 kB / 0.9543 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.576, allocations: 168.9 kB / 0.9544 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.5761, allocations: 52.73 kB / 0.9545 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.5761, allocations: 11.95 kB / 0.9545 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004583/0.5766, allocations: 0.5983 MB / 0.9551 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.5766, allocations: 35.94 kB / 0.9551 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.5766, allocations: 0 / 0.9551 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004431/0.5771, allocations: 299.1 kB / 0.9554 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.555e-05/0.5771, allocations: 56.91 kB / 0.9555 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.987e-05/0.5772, allocations: 101.7 kB / 0.9556 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.5772, allocations: 31.02 kB / 0.9556 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.011e-05/0.5772, allocations: 89.58 kB / 0.9557 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.5772, allocations: 26.36 kB / 0.9557 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.5772, allocations: 28.89 kB / 0.9557 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.06e-05/0.5773, allocations: 312.1 kB / 0.956 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.5773, allocations: 13.12 kB / 0.956 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.5774, allocations: 56.42 kB / 0.9561 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.492e-05/0.5774, allocations: 78.77 kB / 0.9562 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5774, allocations: 0 / 0.9562 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001154/0.5776, allocations: 94.3 kB / 0.9563 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5776, allocations: 6.406 kB / 0.9563 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.5776, allocations: 1.875 kB / 0.9563 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.5776, allocations: 1.75 kB / 0.9563 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.5777, allocations: 20.52 kB / 0.9563 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5777, allocations: 5.906 kB / 0.9563 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.858e-05/0.5777, allocations: 9.906 kB / 0.9563 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.5777, allocations: 4.281 kB / 0.9563 GB, free: 2.574 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.528e-05/0.5778, allocations: 121.2 kB / 0.9564 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.5778, allocations: 5.906 kB / 0.9564 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.5779, allocations: 9.062 kB / 0.9564 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.5779, allocations: 1.125 kB / 0.9564 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5779, allocations: 448 / 0.9564 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5779, allocations: 9.016 kB / 0.9564 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.5781, allocations: 169.2 kB / 0.9566 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5781, allocations: 4 kB / 0.9566 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.5782, allocations: 17.83 kB / 0.9566 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5782, allocations: 4 kB / 0.9566 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.5782, allocations: 5.375 kB / 0.9566 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5782, allocations: 0 / 0.9566 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5782, allocations: 5.625 kB / 0.9566 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.5783, allocations: 179.7 kB / 0.9568 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.5784, allocations: 83.52 kB / 0.9569 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.5784, allocations: 5.219 kB / 0.9569 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.5785, allocations: 2.625 kB / 0.9569 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.5785, allocations: 14.34 kB / 0.9569 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.5785, allocations: 2.719 kB / 0.9569 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.737e-05/0.5785, allocations: 81.52 kB / 0.957 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5785, allocations: 0 / 0.957 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000238/0.5788, allocations: 14.09 kB / 0.957 GB, free: 1.848 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0002444/0.579, allocations: 0.7025 MB / 0.9577 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.804e-05/0.5791, allocations: 50.12 kB / 0.9577 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5791, allocations: 0 / 0.9577 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.5792, allocations: 18.91 kB / 0.9578 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.5794, allocations: 12.17 kB / 0.9578 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.5805, allocations: 1.52 MB / 0.9593 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.5807, allocations: 0.6981 MB / 0.9599 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 5.483e-05/0.5807, allocations: 6.25 kB / 0.9599 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.5808, allocations: 11.94 kB / 0.9599 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5808, allocations: 0 / 0.9599 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/0.8382, allocations: 1.513 MB / 0.9614 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.8384, allocations: 214.2 kB / 0.9616 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.432, allocations: 4.25 kB / 0.9616 GB, free: 13.9 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=1.000000 File[5]=0.004000 Error: Could not read variable der(cpCod) in file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! " Variables in the reference:time,der(hLiqSym),der(hLiqCod),der(cpSym),der(cpCod),der(cvSym),der(cvCod) Variables in the result:T,cpCod,cpSym,cvCod,cvSym,der(T),der(cpSym),der(cvSym),der(hLiqCod),der(hLiqSym),hLiqCod,hLiqSym,time