Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001104/0.001104, allocations: 117 kB / 16.37 MB, free: 6.004 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.001081/0.001081, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.498/2.498, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.81 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.297, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.8453/1.142, allocations: 149.1 MB / 1.164 GB, free: 5.023 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.004115/1.147, allocations: 3.613 MB / 1.168 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/1.147, allocations: 0 / 1.168 GB, free: 2.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003575/1.147, allocations: 70.2 kB / 1.168 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/1.148, allocations: 129.9 kB / 1.168 GB, free: 2.387 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/1.15, allocations: 1.002 MB / 1.169 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004484/1.151, allocations: 324.2 kB / 1.169 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/1.151, allocations: 13.56 kB / 1.169 GB, free: 1.75 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/1.151, allocations: 193.1 kB / 1.17 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/1.151, allocations: 131.1 kB / 1.17 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/1.151, allocations: 10.28 kB / 1.17 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/1.154, allocations: 1.219 MB / 1.171 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/1.154, allocations: 67.41 kB / 1.171 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001508/1.154, allocations: 110.3 kB / 1.171 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001207/1.155, allocations: 0.6416 MB / 1.172 GB, free: 0.8398 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/1.155, allocations: 4 kB / 1.172 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.553e-06/1.155, allocations: 1.438 kB / 1.172 GB, free: 0.8359 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.155, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.8731 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.001076/1.156, allocations: 0.581 MB / 1.172 GB, free: 364 kB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/1.156, allocations: 8.781 kB / 1.172 GB, free: 364 kB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.157, allocations: 132.2 kB / 1.172 GB, free: 340 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/1.158, allocations: 224.3 kB / 1.173 GB, free: 112 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/1.158, allocations: 18.67 kB / 1.173 GB, free: 100 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/1.158, allocations: 20.03 kB / 1.173 GB, free: 92 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000813/1.159, allocations: 339.2 kB / 1.173 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.159, allocations: 0 / 1.173 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/1.159, allocations: 14.56 kB / 1.173 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/1.159, allocations: 12.88 kB / 1.173 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/1.159, allocations: 325.1 kB / 1.173 GB, free: 15.82 MB / 0.8887 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.001707/1.161, allocations: 1.116 MB / 1.174 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/1.162, allocations: 179.8 kB / 1.175 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/1.162, allocations: 86.94 kB / 1.175 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/1.162, allocations: 473.2 kB / 1.175 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/1.162, allocations: 33.03 kB / 1.175 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/1.162, allocations: 0 / 1.175 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of matching and sorting (n=21): time 0.0007205/1.163, allocations: 261.4 kB / 1.175 GB, free: 14.02 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/1.163, allocations: 54.06 kB / 1.175 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/1.163, allocations: 211.6 kB / 1.176 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/1.163, allocations: 31.98 kB / 1.176 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/1.163, allocations: 144.7 kB / 1.176 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/1.163, allocations: 71.58 kB / 1.176 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/1.164, allocations: 58.7 kB / 1.176 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001151/1.164, allocations: 331.6 kB / 1.176 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/1.164, allocations: 70.33 kB / 1.176 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/1.164, allocations: 159.8 kB / 1.176 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003313/1.164, allocations: 249.4 kB / 1.177 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.164, allocations: 1.156 kB / 1.177 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000541/1.165, allocations: 282.7 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.165, allocations: 6.469 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/1.165, allocations: 7.594 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.165, allocations: 3.344 kB / 1.177 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/1.165, allocations: 65.88 kB / 1.177 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/1.165, allocations: 8.016 kB / 1.177 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/1.166, allocations: 29.25 kB / 1.177 GB, free: 12.65 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/1.166, allocations: 10.47 kB / 1.177 GB, free: 12.65 MB / 0.8887 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.00014/1.166, allocations: 138.5 kB / 1.177 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/1.166, allocations: 21 kB / 1.177 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/1.166, allocations: 295.6 kB / 1.178 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.166, allocations: 11.11 kB / 1.178 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.166, allocations: 1.219 kB / 1.178 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.166, allocations: 0 / 1.178 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007636/1.167, allocations: 0.578 MB / 1.178 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.167, allocations: 5.25 kB / 1.178 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/1.167, allocations: 34.11 kB / 1.178 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.167, allocations: 10.38 kB / 1.178 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/1.167, allocations: 5.391 kB / 1.178 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/1.167, allocations: 6.125 kB / 1.178 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.167, allocations: 1.094 kB / 1.178 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/1.168, allocations: 348.3 kB / 1.179 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/1.168, allocations: 125.3 kB / 1.179 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/1.168, allocations: 1.375 kB / 1.179 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/1.168, allocations: 16.41 kB / 1.179 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/1.169, allocations: 13.48 kB / 1.179 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/1.169, allocations: 9.625 kB / 1.179 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001185/1.169, allocations: 153.3 kB / 1.179 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.169, allocations: 0 / 1.179 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005651/1.169, allocations: 116.1 kB / 1.179 GB, free: 11.33 MB / 0.8887 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.0004213/1.17, allocations: 218 kB / 1.179 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000376/1.17, allocations: 207.9 kB / 1.179 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.17, allocations: 5.438 kB / 1.179 GB, free: 11.1 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001485/1.17, allocations: 105.8 kB / 1.179 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005997/1.171, allocations: 96.62 kB / 1.18 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008081/1.172, allocations: 454.4 kB / 1.18 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/1.172, allocations: 0.7341 MB / 1.181 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002273/1.172, allocations: 64.83 kB / 1.181 GB, free: 9.957 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.693e-05/1.172, allocations: 26.88 kB / 1.181 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of SimCode: time 2.7e-07/1.172, allocations: 3.938 kB / 1.181 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of Templates: time 0.01024/1.183, allocations: 5.487 MB / 1.186 GB, free: 7.199 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirProperties.sim & ./Buildings_10_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches