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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007946/0.007946, allocations: 99.8 kB / 15.73 MB, free: 6.066 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.001936/0.001936, allocations: 196.6 kB / 16.68 MB, free: 5.973 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.561/2.561, allocations: 469.4 MB / 0.7422 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 1.064 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7186/0.72, allocations: 159.1 MB / 1.22 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006667/0.7267, allocations: 4.439 MB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002921/0.7296, allocations: 2.691 MB / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.961e-05/0.7298, allocations: 0 / 1.227 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.7301, allocations: 55.67 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.7304, allocations: 91.36 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.7317, allocations: 0.4972 MB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.7319, allocations: 247.9 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.732, allocations: 9.562 kB / 1.228 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009185/0.7329, allocations: 413.7 kB / 1.228 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.7331, allocations: 95.66 kB / 1.228 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.7331, allocations: 4 kB / 1.228 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/0.7341, allocations: 491.1 kB / 1.229 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.7342, allocations: 35.83 kB / 1.229 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.738e-05/0.7343, allocations: 83.64 kB / 1.229 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007854/0.7351, allocations: 351 kB / 1.229 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.7351, allocations: 0 / 1.229 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7351, allocations: 0 / 1.229 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7351, allocations: 0 / 1.229 GB, free: 8.953 MB / 0.9512 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.0009081/0.736, allocations: 0.5103 MB / 1.23 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.7361, allocations: 12.62 kB / 1.23 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.221e-05/0.7361, allocations: 50.73 kB / 1.23 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.7363, allocations: 24.84 kB / 1.23 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.7367, allocations: 212.1 kB / 1.23 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.7367, allocations: 8.703 kB / 1.23 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.7367, allocations: 16.38 kB / 1.23 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/0.7372, allocations: 256.9 kB / 1.23 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.7372, allocations: 3.938 kB / 1.23 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.7372, allocations: 8 kB / 1.23 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/0.7372, allocations: 8 kB / 1.23 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.7378, allocations: 428 kB / 1.23 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.739, allocations: 1.012 MB / 1.231 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.7393, allocations: 155 kB / 1.232 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.7394, allocations: 64.89 kB / 1.232 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001483/0.7409, allocations: 1.821 MB / 1.233 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.7409, allocations: 38.56 kB / 1.234 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.7409, allocations: 0 / 1.234 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0003728/0.7413, allocations: 149.4 kB / 1.234 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.7414, allocations: 59.34 kB / 1.234 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.7416, allocations: 175.2 kB / 1.234 GB, free: 3.348 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.7416, allocations: 33.7 kB / 1.234 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.7417, allocations: 140.1 kB / 1.234 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.7418, allocations: 55.56 kB / 1.234 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.7419, allocations: 49.7 kB / 1.234 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7421, allocations: 322.8 kB / 1.234 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.038e-05/0.7421, allocations: 35.98 kB / 1.234 GB, free: 2.699 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.7423, allocations: 153.6 kB / 1.235 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.7426, allocations: 203.9 kB / 1.235 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7426, allocations: 4 kB / 1.235 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003276/0.7429, allocations: 213.2 kB / 1.235 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7429, allocations: 4 kB / 1.235 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.7429, allocations: 8.453 kB / 1.235 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.743, allocations: 15.94 kB / 1.235 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.7432, allocations: 51.92 kB / 1.235 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.7432, allocations: 11.88 kB / 1.235 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.7433, allocations: 23.84 kB / 1.235 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.7433, allocations: 12 kB / 1.235 GB, free: 1.91 MB / 0.9512 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.0001043/0.7434, allocations: 133.7 kB / 1.235 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.7435, allocations: 19.91 kB / 1.235 GB, free: 1.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.7438, allocations: 154.9 kB / 1.235 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.7438, allocations: 3.938 kB / 1.235 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7438, allocations: 4 kB / 1.235 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7438, allocations: 0 / 1.235 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.7441, allocations: 213.6 kB / 1.236 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7441, allocations: 4 kB / 1.236 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.345e-05/0.7442, allocations: 23.92 kB / 1.236 GB, free: 1.301 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.7442, allocations: 4 kB / 1.236 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.7442, allocations: 4 kB / 1.236 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.7443, allocations: 7.875 kB / 1.236 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7443, allocations: 0 / 1.236 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.7445, allocations: 226.3 kB / 1.236 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.369e-05/0.7446, allocations: 108.9 kB / 1.236 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.7446, allocations: 4 kB / 1.236 GB, free: 0.9219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.7449, allocations: 23.92 kB / 1.236 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.7449, allocations: 11.92 kB / 1.236 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.7449, allocations: 12 kB / 1.236 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.674e-05/0.745, allocations: 116 kB / 1.236 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.745, allocations: 0 / 1.236 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000404/0.7454, allocations: 83.86 kB / 1.236 GB, free: 0.6797 MB / 0.9512 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.0007407/0.7462, allocations: 0.8254 MB / 1.237 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.7464, allocations: 123.7 kB / 1.237 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7465, allocations: 4 kB / 1.237 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.7465, allocations: 50.44 kB / 1.237 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.747, allocations: 52.83 kB / 1.237 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.7491, allocations: 2.033 MB / 1.239 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002528/0.7494, allocations: 0.7168 MB / 1.24 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001565/0.7496, allocations: 49.69 kB / 1.24 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.486e-05/0.7496, allocations: 43.42 kB / 1.24 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of SimCode: time 3.71e-07/0.7497, allocations: 0 / 1.24 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.7722, allocations: 5.181 MB / 1.245 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.469, allocations: 9.344 kB / 1.245 GB, free: 7.512 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.csv","/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