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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001738/0.001738, allocations: 110.4 kB / 16.27 MB, free: 6.352 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.002093/0.002093, allocations: 190.2 kB / 17.2 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.296/2.296, allocations: 390.2 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 65.48 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2568, allocations: 140.4 MB / 0.9502 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7197/0.9766, allocations: 149.1 MB / 1.096 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003853/0.9805, allocations: 3.615 MB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.9807, allocations: 4.562 kB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.981, allocations: 62.16 kB / 1.099 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.9814, allocations: 132.4 kB / 1.1 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.9842, allocations: 1.007 MB / 1.101 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004945/0.9847, allocations: 318.8 kB / 1.101 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.659e-05/0.9848, allocations: 19.27 kB / 1.101 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003937/0.9852, allocations: 195.5 kB / 1.101 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.9854, allocations: 133.6 kB / 1.101 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.9854, allocations: 11.06 kB / 1.101 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.9881, allocations: 1.219 MB / 1.102 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.9883, allocations: 71.86 kB / 1.102 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.9885, allocations: 103.2 kB / 1.103 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.9901, allocations: 0.6411 MB / 1.103 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.9902, allocations: 0 / 1.103 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.886e-06/0.9902, allocations: 0 / 1.103 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.9902, allocations: 5.062 kB / 1.103 GB, free: 5.262 MB / 0.8575 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.001598/0.9918, allocations: 0.5894 MB / 1.104 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.9918, allocations: 9.156 kB / 1.104 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.9931, allocations: 133.7 kB / 1.104 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.9934, allocations: 222.3 kB / 1.104 GB, free: 20.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.9935, allocations: 17.67 kB / 1.104 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.9935, allocations: 19.94 kB / 1.104 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005854/0.9941, allocations: 334.6 kB / 1.104 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9941, allocations: 0.8438 kB / 1.104 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.9942, allocations: 14.25 kB / 1.104 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.756e-05/0.9942, allocations: 14.7 kB / 1.104 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.9948, allocations: 320.7 kB / 1.105 GB, free: 20.52 MB / 0.8731 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.0017/0.9965, allocations: 1.11 MB / 1.106 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.9971, allocations: 188.2 kB / 1.106 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.9972, allocations: 85.94 kB / 1.106 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/0.9978, allocations: 462.8 kB / 1.107 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.9979, allocations: 39.91 kB / 1.107 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.894e-06/0.9979, allocations: 0 / 1.107 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0007197/0.9986, allocations: 261.6 kB / 1.107 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.9986, allocations: 59.94 kB / 1.107 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.9989, allocations: 201.6 kB / 1.107 GB, free: 18.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.9989, allocations: 32.16 kB / 1.107 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.057e-05/0.999, allocations: 143.1 kB / 1.107 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.9991, allocations: 76.08 kB / 1.107 GB, free: 18.79 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/0.9992, allocations: 49.34 kB / 1.107 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9993, allocations: 328.1 kB / 1.108 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.9994, allocations: 71.53 kB / 1.108 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.9996, allocations: 161.6 kB / 1.108 GB, free: 18.35 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/1, allocations: 253.3 kB / 1.108 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/1, allocations: 1.562 kB / 1.108 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006814/1.001, allocations: 279.5 kB / 1.108 GB, free: 18.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/1.001, allocations: 11.59 kB / 1.108 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.001, allocations: 4.047 kB / 1.108 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.001, allocations: 4.125 kB / 1.108 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/1.001, allocations: 68.5 kB / 1.109 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/1.001, allocations: 6.844 kB / 1.109 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/1.001, allocations: 28.62 kB / 1.109 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/1.001, allocations: 11.36 kB / 1.109 GB, free: 18.17 MB / 0.8731 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.0001409/1.002, allocations: 141.2 kB / 1.109 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/1.002, allocations: 21.84 kB / 1.109 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/1.002, allocations: 281 kB / 1.109 GB, free: 18 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.002, allocations: 6.141 kB / 1.109 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/1.002, allocations: 4.203 kB / 1.109 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.002, allocations: 0.6562 kB / 1.109 GB, free: 17.99 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/1.003, allocations: 0.5829 MB / 1.11 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.003, allocations: 8 kB / 1.11 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.003, allocations: 36.92 kB / 1.11 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/1.003, allocations: 1.469 kB / 1.11 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/1.003, allocations: 3.312 kB / 1.11 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.003, allocations: 1.375 kB / 1.11 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.003, allocations: 3.297 kB / 1.11 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/1.004, allocations: 349.8 kB / 1.11 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/1.004, allocations: 121.8 kB / 1.11 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.055e-05/1.004, allocations: 1.797 kB / 1.11 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002499/1.004, allocations: 13.52 kB / 1.11 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/1.004, allocations: 13.25 kB / 1.11 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/1.004, allocations: 14.03 kB / 1.11 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001454/1.004, allocations: 156.5 kB / 1.11 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.004, allocations: 4 kB / 1.11 GB, free: 17.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006198/1.005, allocations: 114.3 kB / 1.11 GB, free: 17.3 MB / 0.8731 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.0004397/1.006, allocations: 214.2 kB / 1.111 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000422/1.006, allocations: 233.3 kB / 1.111 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.006, allocations: 1.438 kB / 1.111 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/1.006, allocations: 108.2 kB / 1.111 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006515/1.007, allocations: 96.27 kB / 1.111 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/1.008, allocations: 487.8 kB / 1.111 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/1.008, allocations: 0.7364 MB / 1.112 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/1.008, allocations: 29.28 kB / 1.112 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of SimCode: time 2.71e-07/1.008, allocations: 1.203 kB / 1.112 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.007479/1.016, allocations: 4.345 MB / 1.116 GB, free: 15.82 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches