Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.004839/0.004839, allocations: 100.8 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.001269/0.001269, allocations: 192.7 kB / 16.67 MB, free: 5.969 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.251/1.251, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.475/2.475, allocations: 482.6 MB / 0.7551 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.84 kB / 1.083 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2605, allocations: 162.3 MB / 1.242 GB, free: 8.848 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005276/0.2658, allocations: 4.42 MB / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002615/0.2685, allocations: 2.695 MB / 1.249 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.94e-05/0.2685, allocations: 4 kB / 1.249 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.2687, allocations: 47.67 kB / 1.249 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.269, allocations: 95.36 kB / 1.249 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.2699, allocations: 497.4 kB / 1.249 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002419/0.2701, allocations: 235.9 kB / 1.25 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.2702, allocations: 13.56 kB / 1.25 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007485/0.2709, allocations: 411.1 kB / 1.25 GB, free: 432 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00012/0.271, allocations: 87.66 kB / 1.25 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.2711, allocations: 11.94 kB / 1.25 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008111/0.2719, allocations: 495 kB / 1.251 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.778e-05/0.272, allocations: 43.83 kB / 1.251 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.634e-05/0.2721, allocations: 83.64 kB / 1.251 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005/0.2726, allocations: 342.9 kB / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2726, allocations: 0 / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.075e-06/0.2726, allocations: 4 kB / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2726, allocations: 0 / 1.251 GB, free: 15.38 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006469/0.2732, allocations: 0.5025 MB / 1.252 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.2733, allocations: 8.031 kB / 1.252 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.2733, allocations: 54.73 kB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.2735, allocations: 32.73 kB / 1.252 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.2737, allocations: 212.1 kB / 1.252 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.2737, allocations: 12.7 kB / 1.252 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.2738, allocations: 12.38 kB / 1.252 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.2741, allocations: 248.9 kB / 1.252 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2741, allocations: 0 / 1.252 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.2742, allocations: 12 kB / 1.252 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.2742, allocations: 4 kB / 1.252 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.2746, allocations: 435.5 kB / 1.253 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009664/0.2756, allocations: 1.015 MB / 1.254 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.2759, allocations: 157.3 kB / 1.254 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.276, allocations: 60.88 kB / 1.254 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/0.2773, allocations: 1.821 MB / 1.256 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2773, allocations: 46.53 kB / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.2773, allocations: 0 / 1.256 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15): time 0.0003049/0.2776, allocations: 155.6 kB / 1.256 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2777, allocations: 51.41 kB / 1.256 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.2778, allocations: 176.5 kB / 1.256 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2779, allocations: 29.7 kB / 1.256 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.338e-05/0.2779, allocations: 144.1 kB / 1.256 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.278, allocations: 59.48 kB / 1.256 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.2781, allocations: 49.7 kB / 1.256 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2782, allocations: 322.8 kB / 1.257 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.2783, allocations: 39.98 kB / 1.257 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.2784, allocations: 141.6 kB / 1.257 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.2786, allocations: 191 kB / 1.257 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2786, allocations: 7.938 kB / 1.257 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003046/0.2789, allocations: 221.2 kB / 1.257 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.279, allocations: 17.8 kB / 1.257 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.279, allocations: 4 kB / 1.257 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.279, allocations: 7.938 kB / 1.257 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.2791, allocations: 51.92 kB / 1.257 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2792, allocations: 8 kB / 1.257 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.2793, allocations: 27.78 kB / 1.257 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2793, allocations: 12.39 kB / 1.257 GB, free: 8.332 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0001033/0.2794, allocations: 142.2 kB / 1.257 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.2794, allocations: 15.91 kB / 1.257 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.2797, allocations: 153.2 kB / 1.258 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.2797, allocations: 7.938 kB / 1.258 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2797, allocations: 0 / 1.258 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2798, allocations: 3.984 kB / 1.258 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.28, allocations: 217.5 kB / 1.258 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.28, allocations: 3.938 kB / 1.258 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.2801, allocations: 27.98 kB / 1.258 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2801, allocations: 0 / 1.258 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.2801, allocations: 4 kB / 1.258 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.2801, allocations: 7.938 kB / 1.258 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2801, allocations: 0 / 1.258 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.2804, allocations: 227.4 kB / 1.258 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.2804, allocations: 108.9 kB / 1.258 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.2805, allocations: 0 / 1.258 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.2807, allocations: 23.92 kB / 1.258 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.2807, allocations: 11.98 kB / 1.258 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.2807, allocations: 8 kB / 1.258 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.2808, allocations: 120 kB / 1.258 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2808, allocations: 0 / 1.258 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003285/0.2811, allocations: 79.86 kB / 1.258 GB, free: 7.098 MB / 0.9825 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006653/0.2818, allocations: 0.8315 MB / 1.259 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.282, allocations: 120.6 kB / 1.259 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.282, allocations: 0 / 1.259 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-05/0.2821, allocations: 47.97 kB / 1.259 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.2825, allocations: 51.91 kB / 1.259 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.2845, allocations: 2.04 MB / 1.261 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.2848, allocations: 0.7128 MB / 1.262 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000129/0.2849, allocations: 49.62 kB / 1.262 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.285, allocations: 47.42 kB / 1.262 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.285, allocations: 0 / 1.262 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.602/2.887, allocations: 5.178 MB / 1.267 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.5/21.39, allocations: 8.438 kB / 1.267 GB, free: 13.93 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches