Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001301/0.001301, allocations: 111 kB / 15.99 MB, free: 6.348 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.001236/0.001236, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.384/1.384, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.676/2.676, allocations: 469.8 MB / 0.7427 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.44 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2973, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6975/0.9949, allocations: 147 MB / 1.208 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004916/0.9998, allocations: 3.602 MB / 1.211 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/1, allocations: 1.281 kB / 1.211 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003851/1, allocations: 56.67 kB / 1.211 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003693/1.001, allocations: 127.1 kB / 1.211 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00292/1.004, allocations: 0.955 MB / 1.212 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005057/1.004, allocations: 322.2 kB / 1.213 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/1.004, allocations: 10.72 kB / 1.213 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/1.005, allocations: 184.1 kB / 1.213 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/1.005, allocations: 140.2 kB / 1.213 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.296e-05/1.005, allocations: 11 kB / 1.213 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003594/1.009, allocations: 1.279 MB / 1.214 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/1.009, allocations: 70.31 kB / 1.214 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002551/1.009, allocations: 105.5 kB / 1.214 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/1.01, allocations: 448.5 kB / 1.215 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.01, allocations: 1.125 kB / 1.215 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.943e-06/1.01, allocations: 0 / 1.215 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.419e-05/1.011, allocations: 0 / 1.215 GB, free: 11.57 MB / 0.9356 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/1.012, allocations: 0.5869 MB / 1.215 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/1.012, allocations: 10.22 kB / 1.215 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/1.014, allocations: 136 kB / 1.215 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/1.014, allocations: 219 kB / 1.216 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/1.014, allocations: 24.5 kB / 1.216 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/1.014, allocations: 24.3 kB / 1.216 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006745/1.015, allocations: 333.6 kB / 1.216 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/1.015, allocations: 0 / 1.216 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/1.015, allocations: 8.25 kB / 1.216 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.746e-05/1.015, allocations: 19.55 kB / 1.216 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/1.015, allocations: 321.9 kB / 1.216 GB, free: 10.36 MB / 0.9356 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.001864/1.017, allocations: 1.106 MB / 1.217 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005258/1.018, allocations: 185.7 kB / 1.218 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/1.018, allocations: 86.05 kB / 1.218 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/1.019, allocations: 465.4 kB / 1.218 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/1.019, allocations: 39.88 kB / 1.218 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 3.797e-06/1.019, allocations: 5.359 kB / 1.218 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.0007625/1.02, allocations: 261.2 kB / 1.218 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.02, allocations: 52.88 kB / 1.219 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/1.02, allocations: 204.4 kB / 1.219 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/1.02, allocations: 35.08 kB / 1.219 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/1.02, allocations: 144.7 kB / 1.219 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.766e-05/1.02, allocations: 80.19 kB / 1.219 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/1.02, allocations: 53.95 kB / 1.219 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001645/1.02, allocations: 326.8 kB / 1.219 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/1.021, allocations: 71.78 kB / 1.219 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/1.021, allocations: 159.2 kB / 1.22 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/1.021, allocations: 251 kB / 1.22 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/1.021, allocations: 0 / 1.22 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005497/1.022, allocations: 285.4 kB / 1.22 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.022, allocations: 6.844 kB / 1.22 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.022, allocations: 2.062 kB / 1.22 GB, free: 7.238 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/1.022, allocations: 8.516 kB / 1.22 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/1.022, allocations: 56.89 kB / 1.22 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/1.022, allocations: 5.531 kB / 1.22 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/1.022, allocations: 37.08 kB / 1.22 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/1.022, allocations: 15.25 kB / 1.22 GB, free: 7.191 MB / 0.9356 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.0001513/1.023, allocations: 133.3 kB / 1.22 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/1.023, allocations: 28.52 kB / 1.22 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/1.023, allocations: 276 kB / 1.221 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/1.023, allocations: 10.72 kB / 1.221 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/1.023, allocations: 3.938 kB / 1.221 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.023, allocations: 0 / 1.221 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/1.024, allocations: 0.577 MB / 1.221 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.024, allocations: 10.03 kB / 1.221 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/1.024, allocations: 34.11 kB / 1.221 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/1.024, allocations: 0 / 1.221 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/1.024, allocations: 2.719 kB / 1.221 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/1.024, allocations: 8.672 kB / 1.221 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.024, allocations: 0 / 1.221 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/1.025, allocations: 349.7 kB / 1.222 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/1.025, allocations: 123.3 kB / 1.222 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/1.025, allocations: 8.672 kB / 1.222 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/1.025, allocations: 13.7 kB / 1.222 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/1.025, allocations: 15.39 kB / 1.222 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-05/1.025, allocations: 13.61 kB / 1.222 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001429/1.026, allocations: 157.1 kB / 1.222 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/1.026, allocations: 0 / 1.222 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005662/1.026, allocations: 115.6 kB / 1.222 GB, free: 5.871 MB / 0.9356 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.0004867/1.027, allocations: 217.2 kB / 1.222 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004256/1.027, allocations: 217.2 kB / 1.222 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.027, allocations: 0.75 kB / 1.222 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/1.027, allocations: 113.6 kB / 1.223 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000657/1.028, allocations: 100.9 kB / 1.223 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009311/1.029, allocations: 0.5619 MB / 1.223 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003899/1.029, allocations: 0.7361 MB / 1.224 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/1.029, allocations: 33.02 kB / 1.224 GB, free: 4.387 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/1.029, allocations: 4 kB / 1.224 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of Templates: time 0.007866/1.037, allocations: 4.346 MB / 1.228 GB, free: 0.7617 MB / 0.9356 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches