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.007237/0.007237, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001461/0.001462, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 62.22 kB / 0.9509 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3142, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1606/0.4748, allocations: 149.1 MB / 1.234 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003973/0.4788, allocations: 3.614 MB / 1.237 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.479, allocations: 4 kB / 1.237 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.4793, allocations: 63.62 kB / 1.237 GB, free: 8.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.4797, allocations: 139.2 kB / 1.237 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.4825, allocations: 1.039 MB / 1.238 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004272/0.4829, allocations: 331.6 kB / 1.239 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.882e-05/0.483, allocations: 9.562 kB / 1.239 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003999/0.4834, allocations: 195.2 kB / 1.239 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.4836, allocations: 131.5 kB / 1.239 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.4836, allocations: 12 kB / 1.239 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001882/0.4855, allocations: 1.22 MB / 1.24 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.4856, allocations: 71.84 kB / 1.24 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.4858, allocations: 115.5 kB / 1.24 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009436/0.4867, allocations: 0.6312 MB / 1.241 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.4867, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4867, allocations: 0 / 1.241 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4867, allocations: 4 kB / 1.241 GB, free: 4.176 MB / 0.9981 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.001146/0.4879, allocations: 0.585 MB / 1.242 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.4879, allocations: 12.02 kB / 1.242 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.4891, allocations: 136.5 kB / 1.242 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.4894, allocations: 216.2 kB / 1.242 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.4894, allocations: 28.23 kB / 1.242 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.4894, allocations: 16 kB / 1.242 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.49, allocations: 338 kB / 1.242 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.49, allocations: 7.938 kB / 1.242 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.49, allocations: 4 kB / 1.242 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.4901, allocations: 16 kB / 1.242 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.4906, allocations: 328.1 kB / 1.243 GB, free: 2.406 MB / 0.9981 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.001509/0.4921, allocations: 1.101 MB / 1.244 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.4926, allocations: 190.5 kB / 1.244 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001266/0.4927, allocations: 80.72 kB / 1.244 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/0.4932, allocations: 465.4 kB / 1.244 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4933, allocations: 42.5 kB / 1.244 GB, free: 348 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.603e-06/0.4933, allocations: 0 / 1.244 GB, free: 348 kB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0006523/0.4939, allocations: 258.4 kB / 1.245 GB, free: 84 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.494, allocations: 51.41 kB / 1.245 GB, free: 20 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.4942, allocations: 211.1 kB / 1.245 GB, free: 15.8 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.4942, allocations: 37.64 kB / 1.245 GB, free: 15.76 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.4943, allocations: 140 kB / 1.245 GB, free: 15.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.4944, allocations: 67.02 kB / 1.245 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.4945, allocations: 53.61 kB / 1.245 GB, free: 15.49 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.4946, allocations: 338.8 kB / 1.245 GB, free: 15.15 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4947, allocations: 64.23 kB / 1.246 GB, free: 15.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.4949, allocations: 160.7 kB / 1.246 GB, free: 14.89 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.4952, allocations: 254.1 kB / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4952, allocations: 0 / 1.246 GB, free: 14.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004903/0.4957, allocations: 285.2 kB / 1.246 GB, free: 14.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4957, allocations: 8 kB / 1.246 GB, free: 14.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4958, allocations: 4 kB / 1.246 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.4958, allocations: 7.938 kB / 1.246 GB, free: 14.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.496, allocations: 55.91 kB / 1.246 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4961, allocations: 4 kB / 1.246 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.4963, allocations: 27.69 kB / 1.246 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.4963, allocations: 19.94 kB / 1.246 GB, free: 14.2 MB / 1.014 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.0001234/0.4964, allocations: 142.4 kB / 1.246 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.4966, allocations: 31.7 kB / 1.247 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004532/0.497, allocations: 267.3 kB / 1.247 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.497, allocations: 11.92 kB / 1.247 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4971, allocations: 0 / 1.247 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4971, allocations: 3.984 kB / 1.247 GB, free: 13.74 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006748/0.4977, allocations: 0.5924 MB / 1.247 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4978, allocations: 11.91 kB / 1.247 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.498, allocations: 39.91 kB / 1.247 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.498, allocations: 0 / 1.247 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.498, allocations: 8 kB / 1.247 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.498, allocations: 0 / 1.247 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.498, allocations: 0 / 1.247 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.4985, allocations: 349.4 kB / 1.248 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.4986, allocations: 116.8 kB / 1.248 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.4986, allocations: 8 kB / 1.248 GB, free: 12.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.4989, allocations: 11.98 kB / 1.248 GB, free: 12.51 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.4989, allocations: 11.98 kB / 1.248 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.499, allocations: 12 kB / 1.248 GB, free: 12.49 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001113/0.4991, allocations: 152.3 kB / 1.248 GB, free: 12.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4991, allocations: 4 kB / 1.248 GB, free: 12.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004641/0.4996, allocations: 123.8 kB / 1.248 GB, free: 12.21 MB / 1.014 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.0003818/0.4999, allocations: 208.8 kB / 1.248 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.5003, allocations: 210.3 kB / 1.249 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5003, allocations: 0 / 1.249 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.5005, allocations: 103.8 kB / 1.249 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005652/0.5011, allocations: 104.5 kB / 1.249 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.5018, allocations: 461.5 kB / 1.249 GB, free: 11.11 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.5021, allocations: 0.7328 MB / 1.25 GB, free: 10.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.5023, allocations: 66.17 kB / 1.25 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.5024, allocations: 27.42 kB / 1.25 GB, free: 10.27 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.5024, allocations: 0 / 1.25 GB, free: 10.27 MB / 1.014 GB Notification: Performance of Templates: time 0.009674/0.5121, allocations: 5.52 MB / 1.255 GB, free: 4.82 MB / 1.014 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches