Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_latest_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.004952/0.004952, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001377/0.001377, allocations: 199.1 kB / 16.68 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.588/2.588, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 68.11 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.26, allocations: 162.3 MB / 1.242 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001888/0.2619, allocations: 1.265 MB / 1.243 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.2651, allocations: 2.918 MB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.636e-05/0.2651, allocations: 0 / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.2651, allocations: 3.984 kB / 1.246 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.046e-05/0.2652, allocations: 7.922 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.2656, allocations: 95.55 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.324e-05/0.2656, allocations: 39.84 kB / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.7e-05/0.2657, allocations: 0 / 1.246 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003769/0.2661, allocations: 167.5 kB / 1.246 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.989e-05/0.2661, allocations: 19.92 kB / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.2661, allocations: 0 / 1.246 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001365/0.2663, allocations: 63.81 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.2663, allocations: 11.98 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.2663, allocations: 15.94 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.2665, allocations: 63.8 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2665, allocations: 0 / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2665, allocations: 0 / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.487e-06/0.2665, allocations: 0 / 1.246 GB, free: 5.184 MB / 0.9981 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.0003593/0.2669, allocations: 355.3 kB / 1.247 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.2669, allocations: 8.031 kB / 1.247 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.2669, allocations: 38.75 kB / 1.247 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.421e-05/0.267, allocations: 0.9375 kB / 1.247 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.2671, allocations: 176.3 kB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.2671, allocations: 384 / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.2671, allocations: 12.33 kB / 1.247 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2672, allocations: 53.61 kB / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.2672, allocations: 0 / 1.247 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.2672, allocations: 4 kB / 1.247 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2673, allocations: 4 kB / 1.247 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.2673, allocations: 15.98 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.2675, allocations: 169.6 kB / 1.247 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.28e-05/0.2676, allocations: 62.48 kB / 1.247 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.2676, allocations: 8.859 kB / 1.247 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/0.2682, allocations: 0.5985 MB / 1.248 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.2682, allocations: 34.56 kB / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.2682, allocations: 0 / 1.248 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004952/0.2687, allocations: 298.6 kB / 1.248 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.2688, allocations: 59.34 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.558e-05/0.2688, allocations: 109.7 kB / 1.248 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2689, allocations: 29.7 kB / 1.248 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.2689, allocations: 88.09 kB / 1.248 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.2689, allocations: 27.75 kB / 1.248 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.269, allocations: 25.7 kB / 1.248 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.2691, allocations: 314.8 kB / 1.249 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.638e-05/0.2691, allocations: 15.98 kB / 1.249 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.2692, allocations: 57.08 kB / 1.249 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.994e-05/0.2693, allocations: 69.09 kB / 1.249 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2693, allocations: 3.938 kB / 1.249 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001253/0.2694, allocations: 101.8 kB / 1.249 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.2694, allocations: 4 kB / 1.249 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2694, allocations: 0 / 1.249 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2694, allocations: 4 kB / 1.249 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.2695, allocations: 23.92 kB / 1.249 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2695, allocations: 4 kB / 1.249 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/0.2696, allocations: 11.92 kB / 1.249 GB, free: 2.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.2696, allocations: 4 kB / 1.249 GB, free: 2.016 MB / 0.9981 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 7.286e-05/0.2697, allocations: 121.9 kB / 1.249 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.2697, allocations: 4 kB / 1.249 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.475e-05/0.2697, allocations: 11.95 kB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2697, allocations: 0 / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.2697, allocations: 0 / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2697, allocations: 3.938 kB / 1.249 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.2699, allocations: 169.7 kB / 1.249 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.27, allocations: 0 / 1.249 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.27, allocations: 16 kB / 1.249 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.27, allocations: 448 / 1.249 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.2701, allocations: 8 kB / 1.249 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2701, allocations: 3.938 kB / 1.249 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2701, allocations: 7.984 kB / 1.249 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.2702, allocations: 179.4 kB / 1.25 GB, free: 1.426 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.2703, allocations: 81.14 kB / 1.25 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.079e-05/0.2703, allocations: 0 / 1.25 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.2704, allocations: 4 kB / 1.25 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.036e-05/0.2704, allocations: 15.92 kB / 1.25 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2704, allocations: 4 kB / 1.25 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.362e-05/0.2705, allocations: 79.28 kB / 1.25 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2705, allocations: 0 / 1.25 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002122/0.2707, allocations: 12 kB / 1.25 GB, free: 1.215 MB / 0.9981 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.0004016/0.2711, allocations: 0.7129 MB / 1.25 GB, free: 484 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.828e-05/0.2712, allocations: 43.95 kB / 1.25 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2712, allocations: 0 / 1.25 GB, free: 440 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.606e-05/0.2713, allocations: 19.98 kB / 1.251 GB, free: 420 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.2715, allocations: 13.59 kB / 1.251 GB, free: 408 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4398/0.7113, allocations: 1.519 MB / 1.252 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.592e-05/0.7115, allocations: 0.6834 MB / 1.253 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.7115, allocations: 7.953 kB / 1.253 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.7116, allocations: 15.23 kB / 1.253 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of SimCode: time 6.01e-07/0.7116, allocations: 1.219 kB / 1.253 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.035/7.747, allocations: 1.674 MB / 1.254 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/23.41, allocations: 5 kB / 1.254 GB, free: 12.95 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-08 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_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