Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_9_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.0007518/0.0007518, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004553/0.004554, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.3/1.3, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.212/2.212, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003459, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.6819, allocations: 142.4 MB / 0.9551 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004087/0.686, allocations: 4.105 MB / 0.9592 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.6882, allocations: 2.673 MB / 0.9618 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.6882, allocations: 0 / 0.9618 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.6885, allocations: 42.52 kB / 0.9618 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.6887, allocations: 91.05 kB / 0.9619 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.6896, allocations: 438.7 kB / 0.9623 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.6899, allocations: 311 kB / 0.9626 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.883e-05/0.69, allocations: 12.72 kB / 0.9626 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000848/0.6909, allocations: 399.2 kB / 0.963 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.691, allocations: 95.45 kB / 0.9631 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.691, allocations: 6 kB / 0.9631 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008705/0.6919, allocations: 0.4951 MB / 0.9636 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.186e-05/0.692, allocations: 37.39 kB / 0.9636 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.531e-05/0.6921, allocations: 101.3 kB / 0.9637 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000465/0.6925, allocations: 358.9 kB / 0.9641 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6926, allocations: 0 / 0.9641 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6926, allocations: 0 / 0.9641 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.6926, allocations: 1.281 kB / 0.9641 GB, free: 0.6992 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005835/0.6932, allocations: 472.5 kB / 0.9645 GB, free: 248 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6932, allocations: 9.094 kB / 0.9645 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.558e-05/0.6933, allocations: 52.92 kB / 0.9646 GB, free: 192 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.6934, allocations: 24.66 kB / 0.9646 GB, free: 180 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.6936, allocations: 220.6 kB / 0.9648 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.6936, allocations: 11.14 kB / 0.9648 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.6936, allocations: 19.02 kB / 0.9648 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.694, allocations: 256.5 kB / 0.9651 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.6941, allocations: 4 kB / 0.9651 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.6941, allocations: 6.844 kB / 0.9651 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.6941, allocations: 6.312 kB / 0.9651 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004715/0.6946, allocations: 428.7 kB / 0.9655 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.6956, allocations: 1.001 MB / 0.9665 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.6959, allocations: 171.1 kB / 0.9666 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.696, allocations: 64.38 kB / 0.9667 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.6973, allocations: 1.823 MB / 0.9685 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.6973, allocations: 38.34 kB / 0.9685 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.6974, allocations: 4 kB / 0.9685 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003273/0.6977, allocations: 147.8 kB / 0.9687 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.6977, allocations: 57.42 kB / 0.9687 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.6979, allocations: 169.8 kB / 0.9689 GB, free: 12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.6979, allocations: 26.67 kB / 0.9689 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.698, allocations: 143.2 kB / 0.969 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.6981, allocations: 54.88 kB / 0.9691 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.6981, allocations: 24.17 kB / 0.9691 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6982, allocations: 330.8 kB / 0.9694 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.6983, allocations: 33.3 kB / 0.9695 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.6984, allocations: 145 kB / 0.9696 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.6987, allocations: 192.1 kB / 0.9698 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6987, allocations: 0.9375 kB / 0.9698 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003195/0.699, allocations: 217 kB / 0.97 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.699, allocations: 7.125 kB / 0.97 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6991, allocations: 7.875 kB / 0.97 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/0.6991, allocations: 13.05 kB / 0.97 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.6993, allocations: 49.08 kB / 0.9701 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.6993, allocations: 5.094 kB / 0.9701 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.6994, allocations: 28.75 kB / 0.9701 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.6994, allocations: 19.2 kB / 0.9701 GB, free: 10.91 MB / 0.7325 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.0001027/0.6995, allocations: 125.7 kB / 0.9702 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.6996, allocations: 16.41 kB / 0.9703 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002912/0.6999, allocations: 157.1 kB / 0.9704 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.6999, allocations: 10.36 kB / 0.9704 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6999, allocations: 0 / 0.9704 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6999, allocations: 3.984 kB / 0.9704 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.7002, allocations: 217.9 kB / 0.9706 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7002, allocations: 4.875 kB / 0.9706 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.074e-05/0.7003, allocations: 26.7 kB / 0.9707 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.7003, allocations: 1 kB / 0.9707 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7003, allocations: 2 kB / 0.9707 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.7003, allocations: 8.875 kB / 0.9707 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.7003, allocations: 4 kB / 0.9707 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.7005, allocations: 222 kB / 0.9709 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.7006, allocations: 105.7 kB / 0.971 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.7007, allocations: 1.125 kB / 0.971 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.7009, allocations: 24.98 kB / 0.971 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.7009, allocations: 13.08 kB / 0.971 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.7009, allocations: 10 kB / 0.971 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.643e-05/0.701, allocations: 122.8 kB / 0.9711 GB, free: 10 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.701, allocations: 0.9375 kB / 0.9711 GB, free: 10 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004008/0.7014, allocations: 76.62 kB / 0.9712 GB, free: 9.98 MB / 0.7325 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.0006918/0.7021, allocations: 0.8356 MB / 0.972 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.7024, allocations: 117 kB / 0.9721 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7024, allocations: 4.906 kB / 0.9722 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.743e-05/0.7025, allocations: 45.67 kB / 0.9722 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.7029, allocations: 51.48 kB / 0.9722 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.7051, allocations: 2.119 MB / 0.9743 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.7053, allocations: 0.7124 MB / 0.975 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.7055, allocations: 52.89 kB / 0.9751 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.7056, allocations: 44.67 kB / 0.9751 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7056, allocations: 0 / 0.9751 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.026/3.732, allocations: 4.85 MB / 0.9798 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/3.732, allocations: 203.6 kB / 0.98 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/6.52, allocations: 0 / 0.98 GB, free: 3.895 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches