Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirProperties.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.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_AirProperties",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.004235/0.004235, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001245/0.001245, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.823/2.823, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 66.34 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2794, allocations: 162.2 MB / 1.241 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1681/0.4476, allocations: 149.1 MB / 1.387 GB, free: 3.426 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004366/0.452, allocations: 3.614 MB / 1.391 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.4521, allocations: 4 kB / 1.391 GB, free: 15.8 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.4524, allocations: 59.64 kB / 1.391 GB, free: 15.74 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.4527, allocations: 139.2 kB / 1.391 GB, free: 15.6 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.4548, allocations: 1.014 MB / 1.392 GB, free: 14.59 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.4552, allocations: 315.7 kB / 1.392 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.4553, allocations: 13.56 kB / 1.392 GB, free: 14.26 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.4556, allocations: 183.5 kB / 1.392 GB, free: 14.08 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.4558, allocations: 131.5 kB / 1.392 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.4559, allocations: 12 kB / 1.392 GB, free: 13.94 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.4578, allocations: 1.22 MB / 1.394 GB, free: 12.72 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.4579, allocations: 71.78 kB / 1.394 GB, free: 12.65 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.4581, allocations: 111.5 kB / 1.394 GB, free: 12.54 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.4591, allocations: 0.6426 MB / 1.394 GB, free: 11.89 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.4591, allocations: 0 / 1.394 GB, free: 11.89 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4591, allocations: 0 / 1.394 GB, free: 11.89 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4591, allocations: 0 / 1.394 GB, free: 11.89 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001106/0.4602, allocations: 0.5997 MB / 1.395 GB, free: 11.25 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.4603, allocations: 11.97 kB / 1.395 GB, free: 11.23 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.645e-05/0.4604, allocations: 54.73 kB / 1.395 GB, free: 11.17 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.4616, allocations: 136.7 kB / 1.395 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.4619, allocations: 231.8 kB / 1.395 GB, free: 10.77 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.4619, allocations: 12.38 kB / 1.395 GB, free: 10.76 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.4619, allocations: 19.94 kB / 1.395 GB, free: 10.74 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005764/0.4625, allocations: 334.3 kB / 1.396 GB, free: 10.4 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4625, allocations: 4 kB / 1.396 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.4626, allocations: 8 kB / 1.396 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.599e-05/0.4626, allocations: 19.98 kB / 1.396 GB, free: 10.37 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/0.4632, allocations: 328.1 kB / 1.396 GB, free: 10.05 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.4649, allocations: 1.098 MB / 1.397 GB, free: 8.859 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.4654, allocations: 198.4 kB / 1.397 GB, free: 8.656 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.4655, allocations: 80.75 kB / 1.397 GB, free: 8.574 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00057/0.4661, allocations: 457.5 kB / 1.398 GB, free: 8.035 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.4662, allocations: 42.55 kB / 1.398 GB, free: 7.984 MB / 1.123 GB Notification: Performance of pre-optimization done (n=21): time 1.492e-06/0.4662, allocations: 0 / 1.398 GB, free: 7.984 MB / 1.123 GB Notification: Performance of matching and sorting (n=21): time 0.0006974/0.4669, allocations: 263.9 kB / 1.398 GB, free: 7.723 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.4669, allocations: 51.41 kB / 1.398 GB, free: 7.66 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.4671, allocations: 203.1 kB / 1.398 GB, free: 7.449 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.4672, allocations: 33.7 kB / 1.398 GB, free: 7.41 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 9.75e-05/0.4673, allocations: 148.2 kB / 1.399 GB, free: 7.258 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.4674, allocations: 79.36 kB / 1.399 GB, free: 7.18 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.439e-05/0.4675, allocations: 53.66 kB / 1.399 GB, free: 7.121 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4676, allocations: 330.8 kB / 1.399 GB, free: 6.789 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.4678, allocations: 68.22 kB / 1.399 GB, free: 6.723 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.468, allocations: 160.8 kB / 1.399 GB, free: 6.527 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.4683, allocations: 246.9 kB / 1.4 GB, free: 6.246 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4684, allocations: 7.938 kB / 1.4 GB, free: 6.238 MB / 1.123 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005526/0.4689, allocations: 284 kB / 1.4 GB, free: 5.957 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4689, allocations: 8 kB / 1.4 GB, free: 5.949 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.469, allocations: 7.938 kB / 1.4 GB, free: 5.941 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.469, allocations: 8.312 kB / 1.4 GB, free: 5.934 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.4693, allocations: 55.92 kB / 1.4 GB, free: 5.879 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.4693, allocations: 7.984 kB / 1.4 GB, free: 5.871 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.4695, allocations: 27.78 kB / 1.4 GB, free: 5.844 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.4695, allocations: 16 kB / 1.4 GB, free: 5.828 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001331/0.4697, allocations: 137.9 kB / 1.4 GB, free: 5.684 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.4698, allocations: 27.89 kB / 1.4 GB, free: 5.656 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.4703, allocations: 283.2 kB / 1.4 GB, free: 5.371 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.4704, allocations: 8 kB / 1.4 GB, free: 5.363 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4704, allocations: 0 / 1.4 GB, free: 5.363 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4704, allocations: 0 / 1.4 GB, free: 5.363 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007971/0.4712, allocations: 0.5953 MB / 1.401 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4712, allocations: 0 / 1.401 GB, free: 4.707 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.4714, allocations: 27.98 kB / 1.401 GB, free: 4.68 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4714, allocations: 4 kB / 1.401 GB, free: 4.676 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.4714, allocations: 4 kB / 1.401 GB, free: 4.672 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4714, allocations: 8.062 kB / 1.401 GB, free: 4.664 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.4714, allocations: 7.938 kB / 1.401 GB, free: 4.656 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005484/0.472, allocations: 348.2 kB / 1.401 GB, free: 4.297 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.4721, allocations: 120.9 kB / 1.401 GB, free: 4.16 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.4722, allocations: 11.98 kB / 1.401 GB, free: 4.148 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.4724, allocations: 12 kB / 1.401 GB, free: 4.137 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.4725, allocations: 11.98 kB / 1.401 GB, free: 4.125 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.4725, allocations: 15.98 kB / 1.401 GB, free: 4.109 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001413/0.4727, allocations: 149.4 kB / 1.402 GB, free: 3.965 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.064e-06/0.4727, allocations: 0 / 1.402 GB, free: 3.965 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004422/0.4731, allocations: 123.7 kB / 1.402 GB, free: 3.844 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001145/0.4743, allocations: 0.9947 MB / 1.403 GB, free: 2.812 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0003925/0.4747, allocations: 207.8 kB / 1.403 GB, free: 2.609 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4747, allocations: 0 / 1.403 GB, free: 2.609 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4749, allocations: 107.8 kB / 1.403 GB, free: 2.504 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/0.4755, allocations: 95.31 kB / 1.403 GB, free: 2.414 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.4786, allocations: 2.507 MB / 1.406 GB, free: 15.75 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.479, allocations: 0.7406 MB / 1.406 GB, free: 14.98 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002276/0.4792, allocations: 54.25 kB / 1.406 GB, free: 14.93 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4793, allocations: 55.42 kB / 1.406 GB, free: 14.88 MB / 1.139 GB Notification: Performance of SimCode: time 2.71e-07/0.4793, allocations: 3.938 kB / 1.406 GB, free: 14.88 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03189/0.5112, allocations: 7.743 MB / 1.414 GB, free: 7.262 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.605, allocations: 5.969 kB / 1.414 GB, free: 7.258 MB / 1.139 GB (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirProperties_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_AirProperties.fmu > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches