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.001684/0.001684, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001853/0.001853, allocations: 191 kB / 16.25 MB, free: 6.637 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.449 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.43/2.43, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 68.08 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7413, allocations: 140.4 MB / 0.9491 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1756/0.917, allocations: 147 MB / 1.093 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004685/0.9217, allocations: 3.602 MB / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.9219, allocations: 0 / 1.096 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004301/0.9224, allocations: 63.7 kB / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004271/0.9229, allocations: 123.3 kB / 1.096 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.926, allocations: 0.9495 MB / 1.097 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.9266, allocations: 327.7 kB / 1.098 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.138e-05/0.9267, allocations: 13.56 kB / 1.098 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005202/0.9272, allocations: 183.3 kB / 1.098 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.9275, allocations: 147.5 kB / 1.098 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.9275, allocations: 8 kB / 1.098 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002513/0.9301, allocations: 1.278 MB / 1.099 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.9302, allocations: 71.72 kB / 1.099 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.9304, allocations: 111.5 kB / 1.099 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.9323, allocations: 0.7305 MB / 1.1 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9323, allocations: 0 / 1.1 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9323, allocations: 4 kB / 1.1 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.9323, allocations: 0 / 1.1 GB, free: 7.199 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.001381/0.9337, allocations: 0.5889 MB / 1.101 GB, free: 6.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.9338, allocations: 12.03 kB / 1.101 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.9351, allocations: 132.6 kB / 1.101 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.9354, allocations: 212.1 kB / 1.101 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.9354, allocations: 20.31 kB / 1.101 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.9355, allocations: 19.98 kB / 1.101 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.9361, allocations: 342 kB / 1.101 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.9361, allocations: 0 / 1.101 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.9361, allocations: 11.98 kB / 1.101 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.9362, allocations: 19.98 kB / 1.101 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.9368, allocations: 316.1 kB / 1.102 GB, free: 5.445 MB / 0.8575 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.002142/0.9389, allocations: 1.109 MB / 1.103 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.9396, allocations: 192.3 kB / 1.103 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.9398, allocations: 88.8 kB / 1.103 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000769/0.9406, allocations: 457.4 kB / 1.103 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.9406, allocations: 34.56 kB / 1.103 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.9406, allocations: 0 / 1.103 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21): time 0.0008222/0.9415, allocations: 262.1 kB / 1.104 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.9415, allocations: 63.34 kB / 1.104 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.9418, allocations: 203.1 kB / 1.104 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.9419, allocations: 29.7 kB / 1.104 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.942, allocations: 143.9 kB / 1.104 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.452e-05/0.9421, allocations: 78.94 kB / 1.104 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.9422, allocations: 53.69 kB / 1.104 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.9424, allocations: 326.8 kB / 1.105 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.9425, allocations: 72.22 kB / 1.105 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.9428, allocations: 160.8 kB / 1.105 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.9431, allocations: 252.7 kB / 1.105 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.9432, allocations: 4 kB / 1.105 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005738/0.9437, allocations: 284 kB / 1.105 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.9438, allocations: 8.062 kB / 1.105 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.9438, allocations: 4 kB / 1.105 GB, free: 1.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.9438, allocations: 7.938 kB / 1.105 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.9441, allocations: 55.91 kB / 1.105 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.9442, allocations: 11.94 kB / 1.105 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.9444, allocations: 27.69 kB / 1.105 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.9445, allocations: 19.98 kB / 1.105 GB, free: 1.215 MB / 0.8575 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.0001699/0.9446, allocations: 133.8 kB / 1.106 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.9448, allocations: 27.8 kB / 1.106 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005207/0.9453, allocations: 277.1 kB / 1.106 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.9453, allocations: 7.938 kB / 1.106 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.9454, allocations: 112 / 1.106 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.9454, allocations: 3.938 kB / 1.106 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008151/0.9462, allocations: 0.5923 MB / 1.106 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.9462, allocations: 4 kB / 1.106 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.9464, allocations: 27.98 kB / 1.106 GB, free: 80 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.9464, allocations: 4 kB / 1.106 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.9464, allocations: 4 kB / 1.107 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9465, allocations: 4 kB / 1.107 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.9465, allocations: 0 / 1.107 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.947, allocations: 348.8 kB / 1.107 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.9472, allocations: 116.8 kB / 1.107 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.9472, allocations: 7.984 kB / 1.107 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.9475, allocations: 13.89 kB / 1.107 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.9475, allocations: 11.98 kB / 1.107 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.9476, allocations: 15.98 kB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001388/0.9477, allocations: 156.2 kB / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9477, allocations: 0 / 1.107 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005549/0.9483, allocations: 120 kB / 1.107 GB, free: 15.25 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.0004917/0.9488, allocations: 218.9 kB / 1.107 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004158/0.9492, allocations: 219.7 kB / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.9492, allocations: 0 / 1.108 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.9494, allocations: 107.8 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.95, allocations: 100.6 kB / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008515/0.9509, allocations: 0.5172 MB / 1.108 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.9512, allocations: 0.7406 MB / 1.109 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003101/0.9516, allocations: 58.23 kB / 1.109 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.9516, allocations: 23.44 kB / 1.109 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9516, allocations: 0 / 1.109 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.01077/0.9624, allocations: 5.472 MB / 1.115 GB, free: 7.816 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches