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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00151/0.00151, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001682/0.001682, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.8 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.55 kB / 0.8986 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3443, allocations: 157.4 MB / 1.052 GB, free: 8.789 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1555/0.4998, allocations: 147 MB / 1.196 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003969/0.5038, allocations: 3.602 MB / 1.199 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.504, allocations: 0 / 1.199 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.5044, allocations: 55.75 kB / 1.199 GB, free: 1.551 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.5048, allocations: 127.3 kB / 1.2 GB, free: 1.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.5076, allocations: 0.9527 MB / 1.2 GB, free: 484 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000463/0.5081, allocations: 319.7 kB / 1.201 GB, free: 164 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.682e-05/0.5082, allocations: 17.56 kB / 1.201 GB, free: 148 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.5087, allocations: 179.3 kB / 1.201 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.509, allocations: 143.5 kB / 1.201 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.5091, allocations: 12 kB / 1.201 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.5113, allocations: 1.286 MB / 1.202 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.5114, allocations: 67.78 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.5116, allocations: 103.5 kB / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.5132, allocations: 0.7326 MB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5132, allocations: 0 / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5132, allocations: 0 / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.5132, allocations: 4 kB / 1.203 GB, free: 13.62 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.001398/0.5146, allocations: 0.5928 MB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.5147, allocations: 8.031 kB / 1.204 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.5159, allocations: 136.5 kB / 1.204 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.5162, allocations: 224 kB / 1.204 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.5162, allocations: 16.31 kB / 1.204 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.5163, allocations: 16 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000541/0.5168, allocations: 338.3 kB / 1.205 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5168, allocations: 4 kB / 1.205 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.5169, allocations: 8 kB / 1.205 GB, free: 12.19 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.132e-05/0.5169, allocations: 15.94 kB / 1.205 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.5174, allocations: 324.1 kB / 1.205 GB, free: 11.86 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.001553/0.519, allocations: 1.102 MB / 1.206 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.5195, allocations: 195.7 kB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.5196, allocations: 80.8 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/0.5202, allocations: 465.4 kB / 1.207 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.5202, allocations: 38.56 kB / 1.207 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.5203, allocations: 0 / 1.207 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0006958/0.521, allocations: 257.2 kB / 1.207 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.521, allocations: 55.41 kB / 1.207 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.5213, allocations: 211 kB / 1.207 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.5213, allocations: 37.7 kB / 1.207 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.5214, allocations: 139.9 kB / 1.207 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.676e-05/0.5215, allocations: 74.98 kB / 1.207 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.5216, allocations: 53.61 kB / 1.207 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5218, allocations: 326.8 kB / 1.208 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.5219, allocations: 72.22 kB / 1.208 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.5222, allocations: 159.7 kB / 1.208 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.5225, allocations: 246.3 kB / 1.208 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.5225, allocations: 4 kB / 1.208 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005265/0.5231, allocations: 281.1 kB / 1.208 GB, free: 7.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.5231, allocations: 11.94 kB / 1.208 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.5231, allocations: 0 / 1.208 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/0.5231, allocations: 12.31 kB / 1.209 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.5234, allocations: 67.91 kB / 1.209 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.5234, allocations: 4 kB / 1.209 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/0.5237, allocations: 27.69 kB / 1.209 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.5237, allocations: 12 kB / 1.209 GB, free: 7.641 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.0001603/0.5239, allocations: 143.2 kB / 1.209 GB, free: 7.492 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.524, allocations: 23.72 kB / 1.209 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005179/0.5245, allocations: 291.2 kB / 1.209 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.5246, allocations: 3.938 kB / 1.209 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5246, allocations: 0 / 1.209 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.5246, allocations: 3.984 kB / 1.209 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007676/0.5254, allocations: 0.578 MB / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5254, allocations: 0 / 1.21 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.5256, allocations: 36.05 kB / 1.21 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.5256, allocations: 0 / 1.21 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.5256, allocations: 4 kB / 1.21 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.5256, allocations: 7.922 kB / 1.21 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.5256, allocations: 0 / 1.21 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.5262, allocations: 349.8 kB / 1.21 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5263, allocations: 124.8 kB / 1.21 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.827e-05/0.5264, allocations: 8 kB / 1.21 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.5266, allocations: 13.19 kB / 1.21 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.5267, allocations: 11.98 kB / 1.21 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.5267, allocations: 15.94 kB / 1.21 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001393/0.5269, allocations: 149.5 kB / 1.21 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.5269, allocations: 0 / 1.21 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005224/0.5274, allocations: 123.8 kB / 1.21 GB, free: 5.668 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.0004456/0.5278, allocations: 219.1 kB / 1.211 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.5283, allocations: 224.2 kB / 1.211 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.5283, allocations: 4 kB / 1.211 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.5284, allocations: 105.5 kB / 1.211 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.529, allocations: 103.9 kB / 1.211 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.5298, allocations: 0.5171 MB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.5301, allocations: 0.7367 MB / 1.212 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002857/0.5304, allocations: 58.25 kB / 1.212 GB, free: 3.648 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.5305, allocations: 27.42 kB / 1.212 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.5305, allocations: 0 / 1.212 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of Templates: time 0.01025/0.5407, allocations: 5.463 MB / 1.218 GB, free: 14.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches