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.001379/0.001384, allocations: 106.8 kB / 15.99 MB, free: 6.363 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.001412/0.001412, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.36/1.36, 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 9.1.3-maint.9.1.x/package.mo): time 2.246/2.246, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 62.14 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2567, allocations: 140.4 MB / 0.9498 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.6668/0.9236, allocations: 147 MB / 1.093 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003557/0.9272, allocations: 3.6 MB / 1.097 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.9273, allocations: 4.969 kB / 1.097 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.9277, allocations: 56.02 kB / 1.097 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003727/0.9282, allocations: 117.9 kB / 1.097 GB, free: 5.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.9309, allocations: 0.9536 MB / 1.098 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004509/0.9314, allocations: 325.5 kB / 1.098 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.9315, allocations: 18.78 kB / 1.098 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.9319, allocations: 185.3 kB / 1.098 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.9321, allocations: 142.5 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.9321, allocations: 10.78 kB / 1.099 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002641/0.9348, allocations: 1.276 MB / 1.1 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.9349, allocations: 66.33 kB / 1.1 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001641/0.9351, allocations: 110.1 kB / 1.1 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009248/0.936, allocations: 446.3 kB / 1.1 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.936, allocations: 4.75 kB / 1.1 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.936, allocations: 0 / 1.1 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.9361, allocations: 0.625 kB / 1.1 GB, free: 5.746 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.001367/0.9374, allocations: 0.5872 MB / 1.101 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.9375, allocations: 11.03 kB / 1.101 GB, free: 21.3 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.9388, allocations: 139 kB / 1.101 GB, free: 21.29 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.939, allocations: 218.9 kB / 1.101 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.9391, allocations: 18.97 kB / 1.101 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.9391, allocations: 16.62 kB / 1.101 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006068/0.9397, allocations: 341.6 kB / 1.102 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.9397, allocations: 0 / 1.102 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.9398, allocations: 7.953 kB / 1.102 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.9398, allocations: 14 kB / 1.102 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005871/0.9404, allocations: 327.7 kB / 1.102 GB, free: 21 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.001873/0.9423, allocations: 1.102 MB / 1.103 GB, free: 20.23 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.9429, allocations: 189.2 kB / 1.103 GB, free: 20.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/0.9431, allocations: 85.75 kB / 1.103 GB, free: 20.19 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/0.9439, allocations: 462.5 kB / 1.104 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.9439, allocations: 38.52 kB / 1.104 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=21): time 1.744e-06/0.944, allocations: 0 / 1.104 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21): time 0.0008356/0.9448, allocations: 268.8 kB / 1.104 GB, free: 19.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.9449, allocations: 53.16 kB / 1.104 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.9451, allocations: 200 kB / 1.104 GB, free: 19.46 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.854e-05/0.9452, allocations: 31.7 kB / 1.104 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.85e-05/0.9453, allocations: 142.2 kB / 1.105 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.9454, allocations: 77.81 kB / 1.105 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.795e-05/0.9455, allocations: 50.83 kB / 1.105 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.9456, allocations: 328.8 kB / 1.105 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.9458, allocations: 81.39 kB / 1.105 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.946, allocations: 158.9 kB / 1.105 GB, free: 18.83 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.9463, allocations: 247.3 kB / 1.105 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.9463, allocations: 0.5312 kB / 1.105 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005647/0.9469, allocations: 290.8 kB / 1.106 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9469, allocations: 5.906 kB / 1.106 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.9469, allocations: 4.297 kB / 1.106 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.947, allocations: 4.125 kB / 1.106 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.9472, allocations: 64.02 kB / 1.106 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.9473, allocations: 8.172 kB / 1.106 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.9475, allocations: 29.94 kB / 1.106 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.9476, allocations: 11.12 kB / 1.106 GB, free: 18.65 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/0.9477, allocations: 139.2 kB / 1.106 GB, free: 18.53 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.9479, allocations: 27.2 kB / 1.106 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.9484, allocations: 279.5 kB / 1.106 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.9484, allocations: 7.797 kB / 1.106 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.9484, allocations: 2.391 kB / 1.106 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.9484, allocations: 2.578 kB / 1.106 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008228/0.9492, allocations: 0.5766 MB / 1.107 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.9493, allocations: 5.547 kB / 1.107 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.9495, allocations: 38.23 kB / 1.107 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.9495, allocations: 1.75 kB / 1.107 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.9495, allocations: 7.25 kB / 1.107 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9495, allocations: 3.562 kB / 1.107 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9495, allocations: 1.234 kB / 1.107 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.9501, allocations: 355.6 kB / 1.107 GB, free: 17.98 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.9503, allocations: 118.5 kB / 1.107 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.256e-05/0.9503, allocations: 6.656 kB / 1.107 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.9506, allocations: 14.61 kB / 1.107 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.9507, allocations: 12.55 kB / 1.107 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.9507, allocations: 19.27 kB / 1.107 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001413/0.9508, allocations: 150.7 kB / 1.108 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9508, allocations: 0 / 1.108 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006279/0.9515, allocations: 113.7 kB / 1.108 GB, free: 17.78 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.0004965/0.952, allocations: 224.2 kB / 1.108 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.9524, allocations: 216.3 kB / 1.108 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9524, allocations: 0 / 1.108 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000153/0.9526, allocations: 110.3 kB / 1.108 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.9532, allocations: 99.28 kB / 1.108 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008132/0.9541, allocations: 0.5477 MB / 1.109 GB, free: 17.32 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.9544, allocations: 0.7365 MB / 1.11 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.9545, allocations: 25.44 kB / 1.11 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/0.9545, allocations: 1.062 kB / 1.11 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of Templates: time 0.008017/0.9626, allocations: 4.355 MB / 1.114 GB, free: 16.22 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