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.001488/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001753/0.001753, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.83 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3309, allocations: 157.4 MB / 1.052 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1652/0.4961, allocations: 146.8 MB / 1.195 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004894/0.5011, allocations: 3.67 MB / 1.199 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002313/0.5013, allocations: 0 / 1.199 GB, free: 1.805 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.5019, allocations: 63.7 kB / 1.199 GB, free: 1.742 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004651/0.5024, allocations: 127.3 kB / 1.199 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.505, allocations: 0.9527 MB / 1.2 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.5056, allocations: 499.4 kB / 1.201 GB, free: 180 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.846e-05/0.5057, allocations: 13.55 kB / 1.201 GB, free: 168 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004857/0.5062, allocations: 171.3 kB / 1.201 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.5064, allocations: 143.4 kB / 1.201 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.5065, allocations: 8 kB / 1.201 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.509, allocations: 1.527 MB / 1.202 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.5091, allocations: 67.84 kB / 1.203 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.5093, allocations: 111.5 kB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.511, allocations: 0.7365 MB / 1.203 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.511, allocations: 0 / 1.203 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.22e-07/0.511, allocations: 0 / 1.203 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.511, allocations: 0 / 1.203 GB, free: 13.4 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.001374/0.5124, allocations: 0.585 MB / 1.204 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.5125, allocations: 16.03 kB / 1.204 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.5138, allocations: 132.5 kB / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/0.5141, allocations: 220.1 kB / 1.204 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.5142, allocations: 24.3 kB / 1.204 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.5142, allocations: 20 kB / 1.204 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/0.5149, allocations: 338.2 kB / 1.205 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5149, allocations: 0 / 1.205 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.5149, allocations: 12 kB / 1.205 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.713e-05/0.515, allocations: 15.98 kB / 1.205 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.5155, allocations: 324.1 kB / 1.205 GB, free: 11.64 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.001802/0.5173, allocations: 1.101 MB / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005476/0.5179, allocations: 190.4 kB / 1.206 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.5181, allocations: 84.81 kB / 1.206 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005974/0.5187, allocations: 453.4 kB / 1.207 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.5187, allocations: 42.55 kB / 1.207 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.5187, allocations: 0 / 1.207 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21): time 0.0006943/0.5194, allocations: 262.7 kB / 1.207 GB, free: 9.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.5195, allocations: 51.41 kB / 1.207 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.5197, allocations: 211.1 kB / 1.207 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.5197, allocations: 29.64 kB / 1.207 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5199, allocations: 152 kB / 1.207 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.5199, allocations: 74.94 kB / 1.208 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-05/0.52, allocations: 57.61 kB / 1.208 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.5202, allocations: 326.8 kB / 1.208 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.5203, allocations: 68.22 kB / 1.208 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.5205, allocations: 163.7 kB / 1.208 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.5208, allocations: 244.8 kB / 1.208 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5209, allocations: 0 / 1.208 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005497/0.5214, allocations: 287.1 kB / 1.209 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5214, allocations: 4 kB / 1.209 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5215, allocations: 4 kB / 1.209 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.5215, allocations: 7.938 kB / 1.209 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.5218, allocations: 55.92 kB / 1.209 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.5218, allocations: 11.92 kB / 1.209 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002369/0.5221, allocations: 36.06 kB / 1.209 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.5221, allocations: 12 kB / 1.209 GB, free: 7.422 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.0001569/0.5223, allocations: 143.2 kB / 1.209 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.5224, allocations: 23.72 kB / 1.209 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004871/0.5229, allocations: 271.2 kB / 1.209 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5229, allocations: 7.938 kB / 1.209 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.523, allocations: 4 kB / 1.209 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.523, allocations: 3.984 kB / 1.209 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007833/0.5238, allocations: 0.5841 MB / 1.21 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.5238, allocations: 4 kB / 1.21 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.524, allocations: 27.98 kB / 1.21 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.524, allocations: 7.938 kB / 1.21 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.524, allocations: 4 kB / 1.21 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.524, allocations: 4.062 kB / 1.21 GB, free: 6.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.524, allocations: 4 kB / 1.21 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005578/0.5246, allocations: 360.8 kB / 1.21 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.5247, allocations: 120.8 kB / 1.21 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.5248, allocations: 0 / 1.21 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.5251, allocations: 21.36 kB / 1.21 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.5251, allocations: 11.98 kB / 1.21 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.5252, allocations: 12 kB / 1.21 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001303/0.5253, allocations: 153.5 kB / 1.21 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5253, allocations: 0 / 1.21 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000621/0.5259, allocations: 115.8 kB / 1.211 GB, free: 5.457 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.0005404/0.5265, allocations: 223 kB / 1.211 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003986/0.5269, allocations: 199.6 kB / 1.211 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.5269, allocations: 4.688 kB / 1.211 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.5271, allocations: 107.9 kB / 1.211 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000663/0.5277, allocations: 99.91 kB / 1.211 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.5287, allocations: 0.5224 MB / 1.212 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.5291, allocations: 0.7327 MB / 1.212 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003351/0.5294, allocations: 62.23 kB / 1.212 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.5295, allocations: 31.42 kB / 1.212 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of SimCode: time 1.863e-06/0.5295, allocations: 0 / 1.212 GB, free: 3.426 MB / 0.9669 GB Notification: Performance of Templates: time 0.01152/0.541, allocations: 5.313 MB / 1.218 GB, free: 14.18 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