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.005668/0.005668, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001232/0.001232, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.312/2.312, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 63.91 kB / 0.9509 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09/1.092, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.2317/1.324, allocations: 149.1 MB / 1.234 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004612/1.328, allocations: 3.607 MB / 1.237 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/1.328, allocations: 2.375 kB / 1.237 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004062/1.329, allocations: 65.17 kB / 1.237 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003561/1.329, allocations: 140.2 kB / 1.237 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/1.332, allocations: 1.042 MB / 1.238 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000486/1.333, allocations: 320.5 kB / 1.239 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.752e-05/1.333, allocations: 14.22 kB / 1.239 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00045/1.333, allocations: 199 kB / 1.239 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/1.333, allocations: 132.3 kB / 1.239 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/1.333, allocations: 15.25 kB / 1.239 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/1.336, allocations: 1.213 MB / 1.24 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001106/1.336, allocations: 71.09 kB / 1.24 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/1.336, allocations: 109.5 kB / 1.24 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/1.337, allocations: 0.6471 MB / 1.241 GB, free: 224 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.337, allocations: 0 / 1.241 GB, free: 224 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.144e-06/1.337, allocations: 4 kB / 1.241 GB, free: 220 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.133e-05/1.337, allocations: 0 / 1.241 GB, free: 220 kB / 0.9669 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.001276/1.339, allocations: 0.5927 MB / 1.242 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/1.339, allocations: 9.5 kB / 1.242 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.34, allocations: 132.1 kB / 1.242 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/1.34, allocations: 223.6 kB / 1.242 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.34, allocations: 15.97 kB / 1.242 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/1.34, allocations: 19 kB / 1.242 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/1.341, allocations: 334.4 kB / 1.242 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.341, allocations: 0 / 1.242 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/1.341, allocations: 12.28 kB / 1.242 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.923e-05/1.341, allocations: 15.8 kB / 1.242 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/1.342, allocations: 325.5 kB / 1.243 GB, free: 15 MB / 0.9825 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.001727/1.343, allocations: 1.12 MB / 1.244 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000508/1.344, allocations: 190.2 kB / 1.244 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/1.344, allocations: 80.81 kB / 1.244 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/1.345, allocations: 465.4 kB / 1.244 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/1.345, allocations: 38.66 kB / 1.244 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 1.623e-06/1.345, allocations: 3.938 kB / 1.244 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006944/1.345, allocations: 261.2 kB / 1.245 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.345, allocations: 51.41 kB / 1.245 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/1.346, allocations: 211.1 kB / 1.245 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/1.346, allocations: 33.7 kB / 1.245 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/1.346, allocations: 144.2 kB / 1.245 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/1.346, allocations: 75.31 kB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.392e-05/1.346, allocations: 53.7 kB / 1.245 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.346, allocations: 322.8 kB / 1.245 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/1.346, allocations: 76.22 kB / 1.246 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/1.346, allocations: 160.8 kB / 1.246 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/1.347, allocations: 246.9 kB / 1.246 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.347, allocations: 4 kB / 1.246 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005486/1.347, allocations: 287.5 kB / 1.246 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/1.347, allocations: 8.375 kB / 1.246 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.347, allocations: 8 kB / 1.246 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/1.347, allocations: 7.938 kB / 1.246 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/1.348, allocations: 55.92 kB / 1.246 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/1.348, allocations: 11.92 kB / 1.246 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/1.348, allocations: 31.73 kB / 1.246 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/1.348, allocations: 12 kB / 1.246 GB, free: 11.06 MB / 0.9825 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.0001516/1.348, allocations: 138.3 kB / 1.246 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/1.348, allocations: 19.91 kB / 1.247 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005119/1.349, allocations: 284 kB / 1.247 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.349, allocations: 7.938 kB / 1.247 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.349, allocations: 0 / 1.247 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/1.349, allocations: 0 / 1.247 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000829/1.35, allocations: 0.6011 MB / 1.247 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.35, allocations: 0 / 1.247 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/1.35, allocations: 31.98 kB / 1.247 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.35, allocations: 8.062 kB / 1.247 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/1.35, allocations: 0 / 1.247 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.35, allocations: 4 kB / 1.247 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.35, allocations: 0 / 1.247 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005652/1.35, allocations: 352.8 kB / 1.248 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/1.351, allocations: 120.9 kB / 1.248 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/1.351, allocations: 4 kB / 1.248 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/1.351, allocations: 12 kB / 1.248 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/1.351, allocations: 15.98 kB / 1.248 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/1.351, allocations: 11.98 kB / 1.248 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001362/1.351, allocations: 152.3 kB / 1.248 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.351, allocations: 0 / 1.248 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006261/1.352, allocations: 119.8 kB / 1.248 GB, free: 9.094 MB / 0.9825 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.0005915/1.352, allocations: 230.8 kB / 1.248 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000425/1.353, allocations: 207 kB / 1.249 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.353, allocations: 0 / 1.249 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/1.353, allocations: 107.9 kB / 1.249 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/1.354, allocations: 99.84 kB / 1.249 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009074/1.355, allocations: 465.1 kB / 1.249 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003578/1.355, allocations: 0.7405 MB / 1.25 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002529/1.355, allocations: 58.23 kB / 1.25 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.061e-05/1.355, allocations: 23.44 kB / 1.25 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/1.355, allocations: 4 kB / 1.25 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of Templates: time 0.01166/1.367, allocations: 5.515 MB / 1.255 GB, free: 1.676 MB / 0.9825 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