Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Examples.AirProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 187.4 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008755/0.0008755, allocations: 86.33 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003527/0.0003527, allocations: 12.84 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2557, allocations: 106.3 MB / 0.9001 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.905/5.16, allocations: 2.205 GB / 3.105 GB, free: 16.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/5.161, allocations: 71.97 kB / 3.105 GB, free: 16.75 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.6442/5.805, allocations: 50.73 MB / 3.155 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.045e-06/5.805, allocations: 0 / 3.155 GB, free: 325.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.594e-05/5.805, allocations: 10.53 kB / 3.155 GB, free: 325.1 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001477/5.807, allocations: 0.5714 MB / 3.155 GB, free: 324.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/5.807, allocations: 9.094 kB / 3.155 GB, free: 324.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/5.808, allocations: 139.4 kB / 3.155 GB, free: 324.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/5.808, allocations: 221.8 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/5.808, allocations: 16.91 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/5.808, allocations: 17.28 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/5.809, allocations: 337.4 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/5.809, allocations: 4 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/5.809, allocations: 12.5 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/5.809, allocations: 17.94 kB / 3.156 GB, free: 324.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/5.809, allocations: 315.8 kB / 3.156 GB, free: 324.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/5.811, allocations: 1.199 MB / 3.157 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004376/5.811, allocations: 180.2 kB / 3.158 GB, free: 323.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/5.812, allocations: 458.1 kB / 3.158 GB, free: 322.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/5.812, allocations: 41.77 kB / 3.158 GB, free: 322.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/5.812, allocations: 7.844 kB / 3.158 GB, free: 322.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20): time 0.0006133/5.812, allocations: 331.5 kB / 3.158 GB, free: 322.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/5.812, allocations: 51.41 kB / 3.158 GB, free: 322.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/5.813, allocations: 200.1 kB / 3.159 GB, free: 322.4 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/5.813, allocations: 29.33 kB / 3.159 GB, free: 322.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/5.813, allocations: 151.6 kB / 3.159 GB, free: 322.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/5.813, allocations: 73.75 kB / 3.159 GB, free: 322.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/5.813, allocations: 2.625 kB / 3.159 GB, free: 322.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.414e-05/5.813, allocations: 328.1 kB / 3.159 GB, free: 321.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/5.813, allocations: 70.69 kB / 3.159 GB, free: 321.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/5.813, allocations: 160.2 kB / 3.159 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/5.813, allocations: 94.17 kB / 3.159 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/5.813, allocations: 0 / 3.159 GB, free: 321.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004407/5.814, allocations: 278.1 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/5.814, allocations: 7.812 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/5.814, allocations: 7.062 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/5.814, allocations: 8.766 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/5.814, allocations: 62.5 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/5.814, allocations: 6.875 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/5.814, allocations: 31.94 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/5.815, allocations: 16.48 kB / 3.16 GB, free: 321.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001089/5.815, allocations: 133 kB / 3.16 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/5.815, allocations: 38.02 kB / 3.16 GB, free: 321.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/5.815, allocations: 231.2 kB / 3.16 GB, free: 321.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/5.815, allocations: 3.562 kB / 3.16 GB, free: 321.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/5.815, allocations: 0 / 3.16 GB, free: 321.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/5.815, allocations: 0 / 3.16 GB, free: 321.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/5.816, allocations: 0.5355 MB / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/5.816, allocations: 0 / 3.161 GB, free: 321 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/5.816, allocations: 39.73 kB / 3.161 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/5.816, allocations: 4 kB / 3.161 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/5.816, allocations: 6.344 kB / 3.161 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/5.816, allocations: 0 / 3.161 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/5.816, allocations: 0 / 3.161 GB, free: 320.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/5.816, allocations: 328.2 kB / 3.161 GB, free: 320.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/5.817, allocations: 119.4 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/5.817, allocations: 3.062 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/5.817, allocations: 13.58 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/5.817, allocations: 7.109 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/5.817, allocations: 17.55 kB / 3.161 GB, free: 320.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000119/5.817, allocations: 155.1 kB / 3.161 GB, free: 320.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/5.817, allocations: 0 / 3.161 GB, free: 320.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007506/5.818, allocations: 162.3 kB / 3.162 GB, free: 320.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009333/5.819, allocations: 0.6347 MB / 3.162 GB, free: 320.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003237/5.819, allocations: 186.2 kB / 3.162 GB, free: 320.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/5.819, allocations: 0 / 3.162 GB, free: 320.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/5.819, allocations: 82.33 kB / 3.162 GB, free: 320.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/5.82, allocations: 98.02 kB / 3.163 GB, free: 320.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/5.82, allocations: 0.5231 MB / 3.163 GB, free: 319.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/5.821, allocations: 0.7438 MB / 3.164 GB, free: 319 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002944/5.821, allocations: 61.28 kB / 3.164 GB, free: 319 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.273e-05/5.821, allocations: 23.16 kB / 3.164 GB, free: 319 MB / 0.8855 GB Notification: Performance of SimCode: time 3.4e-07/5.821, allocations: 0 / 3.164 GB, free: 319 MB / 0.8855 GB Notification: Performance of Templates: time 0.0158/5.837, allocations: 12.1 MB / 3.176 GB, free: 309.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Examples_AirProperties.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches