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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001864/0.001864, allocations: 199 kB / 16.79 MB, free: 6.809 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.305/1.305, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.645/2.645, allocations: 461.8 MB / 0.7348 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 70.64 kB / 0.899 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2661, allocations: 157.4 MB / 1.053 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1504/0.4165, allocations: 146.8 MB / 1.196 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004206/0.4208, allocations: 3.672 MB / 1.2 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.421, allocations: 0 / 1.2 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.4214, allocations: 59.75 kB / 1.2 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.4217, allocations: 131.3 kB / 1.2 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00322/0.425, allocations: 0.942 MB / 1.201 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0009849/0.426, allocations: 499.4 kB / 1.201 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.554e-05/0.4261, allocations: 9.562 kB / 1.201 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000745/0.4268, allocations: 167.3 kB / 1.201 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.4273, allocations: 151.5 kB / 1.202 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.057e-05/0.4273, allocations: 8 kB / 1.202 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003368/0.4307, allocations: 1.527 MB / 1.203 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.4309, allocations: 71.78 kB / 1.203 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.4311, allocations: 103.5 kB / 1.203 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.4321, allocations: 443.3 kB / 1.204 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4321, allocations: 4 kB / 1.204 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4321, allocations: 0 / 1.204 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.4322, allocations: 0 / 1.204 GB, free: 13.24 MB / 0.9669 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.001254/0.4334, allocations: 0.5889 MB / 1.204 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.4335, allocations: 15.91 kB / 1.204 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001326/0.4348, allocations: 140.5 kB / 1.204 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.4351, allocations: 220.1 kB / 1.205 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.4352, allocations: 16.31 kB / 1.205 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.4352, allocations: 20 kB / 1.205 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006455/0.4359, allocations: 334.3 kB / 1.205 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4359, allocations: 0 / 1.205 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.735e-05/0.4359, allocations: 8 kB / 1.205 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.766e-05/0.436, allocations: 19.98 kB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005607/0.4366, allocations: 324.1 kB / 1.205 GB, free: 11.47 MB / 0.9669 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.001733/0.4383, allocations: 1.105 MB / 1.206 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005265/0.4388, allocations: 186.5 kB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.439, allocations: 80.81 kB / 1.207 GB, free: 10 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005668/0.4396, allocations: 461.4 kB / 1.207 GB, free: 9.457 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.4396, allocations: 42.48 kB / 1.207 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.4396, allocations: 0 / 1.207 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0007111/0.4403, allocations: 263.8 kB / 1.207 GB, free: 9.145 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4404, allocations: 51.41 kB / 1.207 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.4406, allocations: 203.1 kB / 1.208 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.4406, allocations: 29.7 kB / 1.208 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.91e-05/0.4407, allocations: 151.9 kB / 1.208 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/0.4408, allocations: 71 kB / 1.208 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.754e-05/0.4409, allocations: 53.61 kB / 1.208 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.441, allocations: 326.8 kB / 1.208 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4411, allocations: 72.22 kB / 1.208 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.4413, allocations: 168.7 kB / 1.208 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.4417, allocations: 242.9 kB / 1.209 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4417, allocations: 4 kB / 1.209 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005583/0.4422, allocations: 282.9 kB / 1.209 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.4423, allocations: 9.562 kB / 1.209 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.4423, allocations: 4 kB / 1.209 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.4423, allocations: 8.047 kB / 1.209 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.4426, allocations: 59.86 kB / 1.209 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.4426, allocations: 12.34 kB / 1.209 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.4429, allocations: 35.69 kB / 1.209 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.4429, allocations: 8 kB / 1.209 GB, free: 7.258 MB / 0.9669 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.000143/0.4431, allocations: 145.6 kB / 1.209 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.4432, allocations: 31.66 kB / 1.209 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.4437, allocations: 273.2 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4438, allocations: 7.938 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4438, allocations: 0 / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.4438, allocations: 3.984 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008156/0.4446, allocations: 0.5804 MB / 1.21 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.4446, allocations: 0 / 1.21 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/0.4448, allocations: 39.92 kB / 1.21 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.4448, allocations: 0 / 1.21 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.4449, allocations: 4.062 kB / 1.21 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.4449, allocations: 4 kB / 1.21 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4449, allocations: 0 / 1.21 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.4454, allocations: 352.7 kB / 1.21 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.4456, allocations: 120.8 kB / 1.211 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.4456, allocations: 4 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.4459, allocations: 23.92 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.446, allocations: 7.984 kB / 1.211 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.446, allocations: 16 kB / 1.211 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00014/0.4462, allocations: 156.3 kB / 1.211 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4462, allocations: 0 / 1.211 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005794/0.4468, allocations: 115.8 kB / 1.211 GB, free: 5.285 MB / 0.9669 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.0005523/0.4473, allocations: 223 kB / 1.211 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.4477, allocations: 196.8 kB / 1.211 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4477, allocations: 4.75 kB / 1.211 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.4479, allocations: 107.9 kB / 1.211 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.4486, allocations: 103.8 kB / 1.212 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00088/0.4495, allocations: 0.5513 MB / 1.212 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.4498, allocations: 0.7444 MB / 1.213 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.4499, allocations: 23.44 kB / 1.213 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.4499, allocations: 4 kB / 1.213 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of Templates: time 0.007805/0.4577, allocations: 4.342 MB / 1.217 GB, free: 14.95 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (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 & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/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