Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: 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_9_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_9_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.00166/0.00166, allocations: 108 kB / 15.61 MB, free: 148 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.001709/0.001709, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.392/2.392, allocations: 390.2 MB / 0.6646 GB, free: 408 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6736, allocations: 140.3 MB / 0.9496 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1671/0.8408, allocations: 149.1 MB / 1.095 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004221/0.845, allocations: 3.614 MB / 1.099 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.8453, allocations: 7.875 kB / 1.099 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003858/0.8457, allocations: 59.64 kB / 1.099 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.8461, allocations: 135.2 kB / 1.099 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.8487, allocations: 1.019 MB / 1.1 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.8491, allocations: 319.8 kB / 1.1 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.296e-05/0.8492, allocations: 13.55 kB / 1.1 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.8497, allocations: 195.1 kB / 1.1 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.8499, allocations: 127.5 kB / 1.101 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.85, allocations: 12 kB / 1.101 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002353/0.8523, allocations: 1.22 MB / 1.102 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.8524, allocations: 67.78 kB / 1.102 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.8526, allocations: 107.5 kB / 1.102 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.854, allocations: 0.6293 MB / 1.102 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8541, allocations: 4 kB / 1.102 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8541, allocations: 0 / 1.102 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.8541, allocations: 0 / 1.102 GB, free: 4.68 MB / 0.8575 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.001451/0.8556, allocations: 0.5928 MB / 1.103 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.8556, allocations: 8.031 kB / 1.103 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.8569, allocations: 132.6 kB / 1.103 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.8571, allocations: 224 kB / 1.103 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.8572, allocations: 20.31 kB / 1.103 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.8572, allocations: 16 kB / 1.103 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005576/0.8578, allocations: 346 kB / 1.104 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.8578, allocations: 0 / 1.104 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.8579, allocations: 4 kB / 1.104 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.8579, allocations: 15.98 kB / 1.104 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.8584, allocations: 324.1 kB / 1.104 GB, free: 2.918 MB / 0.8575 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.001558/0.86, allocations: 1.109 MB / 1.105 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.8605, allocations: 190.4 kB / 1.105 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.8606, allocations: 80.81 kB / 1.105 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.8613, allocations: 465.4 kB / 1.106 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.8613, allocations: 38.5 kB / 1.106 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.8613, allocations: 0 / 1.106 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0006813/0.862, allocations: 261.7 kB / 1.106 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.862, allocations: 51.41 kB / 1.106 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.8622, allocations: 207.2 kB / 1.106 GB, free: 312 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.8623, allocations: 33.7 kB / 1.106 GB, free: 272 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.8624, allocations: 139.9 kB / 1.107 GB, free: 128 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.691e-05/0.8625, allocations: 82.92 kB / 1.107 GB, free: 44 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.8626, allocations: 49.7 kB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.8627, allocations: 326.8 kB / 1.107 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.8628, allocations: 68.22 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.863, allocations: 164.7 kB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003055/0.8633, allocations: 248.6 kB / 1.108 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.8633, allocations: 0 / 1.108 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000495/0.8638, allocations: 285.9 kB / 1.108 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.8638, allocations: 4.375 kB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.8638, allocations: 8 kB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8638, allocations: 7.938 kB / 1.108 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.8641, allocations: 59.91 kB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.8641, allocations: 4 kB / 1.108 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.8643, allocations: 31.69 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.8644, allocations: 12 kB / 1.108 GB, free: 14.7 MB / 0.8731 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.0001152/0.8645, allocations: 137.8 kB / 1.108 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.8646, allocations: 23.81 kB / 1.108 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000463/0.8651, allocations: 293.1 kB / 1.108 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.8651, allocations: 3.938 kB / 1.108 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.8651, allocations: 0 / 1.108 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.8651, allocations: 7.969 kB / 1.108 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006846/0.8658, allocations: 0.5794 MB / 1.109 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8658, allocations: 0 / 1.109 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.866, allocations: 43.98 kB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.866, allocations: 0 / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.8661, allocations: 4 kB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.8661, allocations: 0 / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8661, allocations: 0 / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004864/0.8666, allocations: 348.8 kB / 1.109 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8667, allocations: 120.8 kB / 1.109 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.8667, allocations: 15.88 kB / 1.109 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.867, allocations: 4 kB / 1.109 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.867, allocations: 19.97 kB / 1.109 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.8671, allocations: 8 kB / 1.109 GB, free: 13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001169/0.8672, allocations: 156.3 kB / 1.11 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8672, allocations: 0 / 1.11 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004743/0.8677, allocations: 112 kB / 1.11 GB, free: 12.74 MB / 0.8731 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.0003912/0.8681, allocations: 223.6 kB / 1.11 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003957/0.8685, allocations: 221.1 kB / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8685, allocations: 0 / 1.11 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.8686, allocations: 118.1 kB / 1.11 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.8693, allocations: 96.09 kB / 1.11 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000739/0.87, allocations: 457.7 kB / 1.111 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.8703, allocations: 0.7367 MB / 1.111 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002839/0.8706, allocations: 58.25 kB / 1.112 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.8707, allocations: 23.44 kB / 1.112 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.8707, allocations: 0 / 1.112 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of Templates: time 0.009311/0.88, allocations: 5.482 MB / 1.117 GB, free: 5.359 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & ./Buildings_9_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches