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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001229/0.001229, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001397/0.001397, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.507/2.507, allocations: 390.2 MB / 0.6653 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8426/0.8429, allocations: 142.3 MB / 0.9535 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1749/1.018, allocations: 125.9 MB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004147/1.022, allocations: 3.023 MB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/1.022, allocations: 11.94 kB / 1.079 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003576/1.023, allocations: 39.83 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003508/1.023, allocations: 91.73 kB / 1.08 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/1.026, allocations: 0.6766 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003564/1.026, allocations: 188.6 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.349e-05/1.026, allocations: 17.55 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004064/1.026, allocations: 159.5 kB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/1.027, allocations: 91.73 kB / 1.081 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/1.027, allocations: 11.94 kB / 1.081 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/1.028, allocations: 0.6825 MB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.605e-05/1.028, allocations: 63.8 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.028e-05/1.028, allocations: 65.58 kB / 1.081 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006115/1.029, allocations: 377.1 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/1.029, allocations: 0 / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.996e-06/1.029, allocations: 0 / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.029, allocations: 0 / 1.082 GB, free: 12.4 MB / 0.8419 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.001201/1.03, allocations: 0.5419 MB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.03, allocations: 8.031 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/1.032, allocations: 143.6 kB / 1.082 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/1.032, allocations: 210.8 kB / 1.083 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/1.032, allocations: 24.3 kB / 1.083 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/1.032, allocations: 20 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005629/1.033, allocations: 330.1 kB / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.033, allocations: 0 / 1.083 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/1.033, allocations: 19.94 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/1.033, allocations: 15.94 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/1.033, allocations: 320.1 kB / 1.083 GB, free: 10.68 MB / 0.8419 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.001716/1.035, allocations: 1.114 MB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004735/1.035, allocations: 190.6 kB / 1.085 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/1.036, allocations: 453.5 kB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/1.036, allocations: 38.56 kB / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/1.036, allocations: 0 / 1.085 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0007348/1.037, allocations: 350.8 kB / 1.085 GB, free: 8.34 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.037, allocations: 55.41 kB / 1.085 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/1.037, allocations: 204 kB / 1.086 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.441e-05/1.037, allocations: 33.7 kB / 1.086 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/1.037, allocations: 143.9 kB / 1.086 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/1.037, allocations: 70.98 kB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/1.037, allocations: 8 kB / 1.086 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.037, allocations: 330.8 kB / 1.086 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/1.038, allocations: 68.22 kB / 1.086 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/1.038, allocations: 163.9 kB / 1.086 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.038, allocations: 91.28 kB / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.038, allocations: 0 / 1.087 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004711/1.038, allocations: 281.3 kB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.038, allocations: 4 kB / 1.087 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.038, allocations: 4 kB / 1.087 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.039, allocations: 4 kB / 1.087 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/1.039, allocations: 59.91 kB / 1.087 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/1.039, allocations: 7.938 kB / 1.087 GB, free: 6.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/1.039, allocations: 35.55 kB / 1.087 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/1.039, allocations: 19.98 kB / 1.087 GB, free: 6.703 MB / 0.8419 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001415/1.039, allocations: 143.1 kB / 1.087 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.039, allocations: 27.78 kB / 1.087 GB, free: 6.527 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000465/1.04, allocations: 267.3 kB / 1.087 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.04, allocations: 7.953 kB / 1.087 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.04, allocations: 0 / 1.087 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/1.04, allocations: 0 / 1.087 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007117/1.041, allocations: 0.5906 MB / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.041, allocations: 0 / 1.088 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/1.041, allocations: 35.98 kB / 1.088 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/1.041, allocations: 3.953 kB / 1.088 GB, free: 5.562 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.041, allocations: 7.938 kB / 1.088 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.041, allocations: 0 / 1.088 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.041, allocations: 0 / 1.088 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/1.041, allocations: 368.4 kB / 1.088 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/1.041, allocations: 128.7 kB / 1.088 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/1.042, allocations: 4 kB / 1.088 GB, free: 5.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/1.042, allocations: 25 kB / 1.088 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/1.042, allocations: 11.98 kB / 1.089 GB, free: 4.977 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/1.042, allocations: 19.94 kB / 1.089 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001205/1.042, allocations: 140.1 kB / 1.089 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.042, allocations: 4 kB / 1.089 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005077/1.043, allocations: 115.9 kB / 1.089 GB, free: 4.703 MB / 0.8419 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 (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.0003687/1.043, allocations: 199 kB / 1.089 GB, free: 4.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003862/1.043, allocations: 204.3 kB / 1.089 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.043, allocations: 3.938 kB / 1.089 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/1.043, allocations: 100.8 kB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/1.044, allocations: 92.72 kB / 1.089 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007979/1.045, allocations: 0.5557 MB / 1.09 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/1.045, allocations: 0.7406 MB / 1.091 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002787/1.045, allocations: 62.19 kB / 1.091 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/1.046, allocations: 19.44 kB / 1.091 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/1.046, allocations: 4 kB / 1.091 GB, free: 2.672 MB / 0.8419 GB Notification: Performance of Templates: time 0.009821/1.055, allocations: 5.105 MB / 1.096 GB, free: 13.64 MB / 0.8575 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","../files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches