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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.256/2.256, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 190.7 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.781/1.781, allocations: 223.1 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009461/0.000946, allocations: 98.38 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 11.38 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3979, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.974/5.372, allocations: 1.922 GB / 3.151 GB, free: 32.11 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/5.372, allocations: 71.59 kB / 3.152 GB, free: 32.08 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.8279/6.2, allocations: 48.13 MB / 3.199 GB, free: 427.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.244e-06/6.2, allocations: 0 / 3.199 GB, free: 427.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.511e-05/6.2, allocations: 4.25 kB / 3.199 GB, free: 427.5 MB / 1.167 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.001684/6.202, allocations: 0.5532 MB / 3.199 GB, free: 427.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.525e-05/6.202, allocations: 9.719 kB / 3.199 GB, free: 427.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/6.204, allocations: 136.8 kB / 3.199 GB, free: 427.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/6.204, allocations: 222.6 kB / 3.199 GB, free: 426.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/6.204, allocations: 12 kB / 3.199 GB, free: 426.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/6.204, allocations: 18.36 kB / 3.199 GB, free: 426.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/6.205, allocations: 336.4 kB / 3.2 GB, free: 426.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/6.205, allocations: 4.375 kB / 3.2 GB, free: 426.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/6.205, allocations: 11.39 kB / 3.2 GB, free: 426.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-05/6.205, allocations: 13.23 kB / 3.2 GB, free: 426.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009099/6.206, allocations: 323.6 kB / 3.2 GB, free: 426.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00219/6.208, allocations: 1.163 MB / 3.201 GB, free: 426 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/6.209, allocations: 185.6 kB / 3.201 GB, free: 426 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006328/6.21, allocations: 459.2 kB / 3.202 GB, free: 425.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/6.21, allocations: 37.94 kB / 3.202 GB, free: 425.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 2.846e-06/6.21, allocations: 3.938 kB / 3.202 GB, free: 425.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.001016/6.211, allocations: 337.6 kB / 3.202 GB, free: 425.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/6.211, allocations: 55.7 kB / 3.202 GB, free: 425.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/6.211, allocations: 194.4 kB / 3.202 GB, free: 425.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/6.211, allocations: 31.14 kB / 3.203 GB, free: 425.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/6.211, allocations: 145 kB / 3.203 GB, free: 425 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.864e-05/6.211, allocations: 71.31 kB / 3.203 GB, free: 425 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/6.211, allocations: 5.312 kB / 3.203 GB, free: 425 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.707e-05/6.212, allocations: 328.5 kB / 3.203 GB, free: 424.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/6.212, allocations: 70.56 kB / 3.203 GB, free: 424.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/6.212, allocations: 159.6 kB / 3.203 GB, free: 424.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/6.212, allocations: 96.78 kB / 3.203 GB, free: 424.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/6.212, allocations: 1.641 kB / 3.203 GB, free: 424.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008193/6.213, allocations: 292.7 kB / 3.204 GB, free: 424.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/6.213, allocations: 6.234 kB / 3.204 GB, free: 424.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/6.213, allocations: 3.594 kB / 3.204 GB, free: 424.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/6.213, allocations: 4.094 kB / 3.204 GB, free: 424.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003892/6.214, allocations: 57.33 kB / 3.204 GB, free: 424.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/6.214, allocations: 9.344 kB / 3.204 GB, free: 424.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/6.214, allocations: 28.02 kB / 3.204 GB, free: 424.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/6.214, allocations: 17.73 kB / 3.204 GB, free: 424.5 MB / 1.167 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.0001709/6.214, allocations: 142 kB / 3.204 GB, free: 424.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/6.215, allocations: 23.27 kB / 3.204 GB, free: 424.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006862/6.215, allocations: 260 kB / 3.204 GB, free: 424.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/6.215, allocations: 2.828 kB / 3.204 GB, free: 424.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/6.215, allocations: 3.094 kB / 3.204 GB, free: 424.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/6.215, allocations: 0.7969 kB / 3.204 GB, free: 424.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/6.216, allocations: 0.5394 MB / 3.205 GB, free: 424 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/6.216, allocations: 3.219 kB / 3.205 GB, free: 424 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/6.217, allocations: 38.95 kB / 3.205 GB, free: 424 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/6.217, allocations: 5.266 kB / 3.205 GB, free: 424 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.449e-05/6.217, allocations: 2.938 kB / 3.205 GB, free: 424 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/6.217, allocations: 1.781 kB / 3.205 GB, free: 424 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/6.217, allocations: 1.031 kB / 3.205 GB, free: 424 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/6.217, allocations: 340.8 kB / 3.205 GB, free: 423.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/6.218, allocations: 129.6 kB / 3.205 GB, free: 423.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/6.218, allocations: 2.75 kB / 3.205 GB, free: 423.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/6.218, allocations: 19.05 kB / 3.205 GB, free: 423.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/6.218, allocations: 13.58 kB / 3.205 GB, free: 423.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/6.218, allocations: 14.52 kB / 3.205 GB, free: 423.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001658/6.218, allocations: 152.9 kB / 3.205 GB, free: 423.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.81e-07/6.218, allocations: 0 / 3.205 GB, free: 423.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001052/6.219, allocations: 153.4 kB / 3.206 GB, free: 423.6 MB / 1.167 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 (18): * Single equations (assignments): 17 * 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.001368/6.221, allocations: 0.644 MB / 3.206 GB, free: 423.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0005265/6.221, allocations: 202.6 kB / 3.206 GB, free: 423.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/6.221, allocations: 1.344 kB / 3.206 GB, free: 423.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/6.222, allocations: 89.78 kB / 3.206 GB, free: 423.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007758/6.222, allocations: 94.45 kB / 3.207 GB, free: 423.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/6.223, allocations: 0.5169 MB / 3.207 GB, free: 423.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/6.224, allocations: 0.7386 MB / 3.208 GB, free: 422.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004722/6.224, allocations: 54.08 kB / 3.208 GB, free: 422.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/6.224, allocations: 26.7 kB / 3.208 GB, free: 422.5 MB / 1.167 GB Notification: Performance of SimCode: time 5.91e-07/6.224, allocations: 0 / 3.208 GB, free: 422.5 MB / 1.167 GB Notification: Performance of Templates: time 0.02634/6.251, allocations: 12.09 MB / 3.22 GB, free: 421.6 MB / 1.167 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","../files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches