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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00165/0.00165, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001841/0.001841, allocations: 189.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.335/2.335, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.047/4.047, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 63.14 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2635, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002152/0.2657, allocations: 1.333 MB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00313/0.2689, allocations: 2.903 MB / 1.057 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.2689, allocations: 0 / 1.057 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.2689, allocations: 7.984 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.269, allocations: 7.922 kB / 1.057 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.2694, allocations: 87.69 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.221e-05/0.2695, allocations: 39.84 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.134e-05/0.2695, allocations: 7.938 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.27, allocations: 147.7 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.341e-05/0.27, allocations: 11.92 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.157e-06/0.27, allocations: 4 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.2702, allocations: 71.81 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.2702, allocations: 7.984 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.2702, allocations: 19.92 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.2704, allocations: 68.08 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.2704, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2704, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.2704, allocations: 3.938 kB / 1.057 GB, free: 3.945 MB / 0.8106 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.0003332/0.2707, allocations: 355.3 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2708, allocations: 8.625 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.2708, allocations: 34.75 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.2709, allocations: 4.938 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.989e-05/0.2709, allocations: 160.4 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.271, allocations: 8.375 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.271, allocations: 8.359 kB / 1.058 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.2711, allocations: 57.61 kB / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2711, allocations: 0 / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.2711, allocations: 0 / 1.058 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2711, allocations: 4 kB / 1.058 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.794e-05/0.2712, allocations: 19.92 kB / 1.058 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.2713, allocations: 161.7 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.2714, allocations: 58.55 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.2715, allocations: 12.86 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005937/0.2721, allocations: 0.5907 MB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.2721, allocations: 38.55 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2721, allocations: 7.875 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004972/0.2726, allocations: 299 kB / 1.059 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.2726, allocations: 55.39 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.2727, allocations: 101.8 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2727, allocations: 29.7 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.2728, allocations: 88.03 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.2728, allocations: 27.56 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.2728, allocations: 29.7 kB / 1.059 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.2729, allocations: 318.8 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.273, allocations: 15.98 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.396e-05/0.273, allocations: 49.16 kB / 1.059 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.757e-05/0.2731, allocations: 81.19 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.2731, allocations: 0 / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001222/0.2732, allocations: 97.55 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.2732, allocations: 4 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2732, allocations: 0 / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.2733, allocations: 4 kB / 1.06 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.2733, allocations: 24.11 kB / 1.06 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2733, allocations: 8.062 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.428e-05/0.2734, allocations: 3.938 kB / 1.06 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2734, allocations: 4 kB / 1.06 GB, free: 0.8008 MB / 0.8106 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 6.588e-05/0.2735, allocations: 117.8 kB / 1.06 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.2735, allocations: 7.906 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.551e-05/0.2735, allocations: 11.91 kB / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2735, allocations: 0 / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2735, allocations: 0 / 1.06 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-06/0.2736, allocations: 11.92 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.2738, allocations: 173.7 kB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.2738, allocations: 0 / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.746e-05/0.2739, allocations: 19.94 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2739, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.2739, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2739, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2739, allocations: 0 / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.274, allocations: 187.3 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.2741, allocations: 81.14 kB / 1.06 GB, free: 112 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2741, allocations: 8 kB / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.2742, allocations: 0 / 1.06 GB, free: 104 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.2742, allocations: 7.938 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.2742, allocations: 0 / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.019e-05/0.2743, allocations: 87.27 kB / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2743, allocations: 0 / 1.06 GB, free: 8 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002228/0.2745, allocations: 8 kB / 1.06 GB, free: 0 / 0.8106 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.0003502/0.2749, allocations: 0.7124 MB / 1.061 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.86e-05/0.275, allocations: 43.95 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.275, allocations: 0 / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.239e-05/0.275, allocations: 20.17 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.2753, allocations: 21.48 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.2765, allocations: 1.536 MB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.2767, allocations: 0.6807 MB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.402e-05/0.2768, allocations: 8 kB / 1.063 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.2768, allocations: 15.44 kB / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2768, allocations: 0 / 1.063 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.346/1.622, allocations: 1.564 MB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004104/1.623, allocations: 217.5 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.08/5.703, allocations: 0 / 1.065 GB, free: 11.12 MB / 0.8262 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=50 --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