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.001161/0.001161, allocations: 92 kB / 15.06 MB, free: 1.098 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.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.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.983/2.983, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003741, allocations: 11.94 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8492/0.8496, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1659/1.016, allocations: 135.2 MB / 1.154 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004219/1.02, allocations: 3.32 MB / 1.158 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/1.02, allocations: 4 kB / 1.158 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003236/1.02, allocations: 43.72 kB / 1.158 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000468/1.021, allocations: 123.4 kB / 1.158 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/1.023, allocations: 0.6533 MB / 1.158 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0005733/1.024, allocations: 415.5 kB / 1.159 GB, free: 3.879 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 7.183e-05/1.024, allocations: 13.55 kB / 1.159 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/1.025, allocations: 175.3 kB / 1.159 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/1.025, allocations: 139.5 kB / 1.159 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/1.025, allocations: 11.98 kB / 1.159 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/1.027, allocations: 0.6548 MB / 1.16 GB, free: 2.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/1.027, allocations: 71.77 kB / 1.16 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/1.027, allocations: 65.64 kB / 1.16 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008346/1.028, allocations: 381.1 kB / 1.16 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.028, allocations: 7.938 kB / 1.16 GB, free: 2.367 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.864e-06/1.028, allocations: 4 kB / 1.16 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.236e-05/1.028, allocations: 0 / 1.16 GB, free: 2.363 MB / 0.9044 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.001373/1.029, allocations: 0.5497 MB / 1.161 GB, free: 1.766 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.029, allocations: 12.56 kB / 1.161 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/1.031, allocations: 131.7 kB / 1.161 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/1.031, allocations: 214.7 kB / 1.161 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/1.031, allocations: 16.38 kB / 1.161 GB, free: 1.359 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/1.031, allocations: 16 kB / 1.161 GB, free: 1.344 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/1.032, allocations: 346.2 kB / 1.162 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.032, allocations: 3.984 kB / 1.162 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/1.032, allocations: 8 kB / 1.162 GB, free: 0.9727 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/1.032, allocations: 8 kB / 1.162 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005626/1.032, allocations: 328.1 kB / 1.162 GB, free: 0.6445 MB / 0.9044 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.001813/1.034, allocations: 1.113 MB / 1.163 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/1.035, allocations: 182.7 kB / 1.163 GB, free: 15.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/1.035, allocations: 84.91 kB / 1.163 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/1.035, allocations: 465.5 kB / 1.164 GB, free: 14.62 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.036, allocations: 34.5 kB / 1.164 GB, free: 14.58 MB / 0.92 GB Notification: Performance of pre-optimization done (n=21): time 4.048e-06/1.036, allocations: 112 / 1.164 GB, free: 14.58 MB / 0.92 GB Notification: Performance of matching and sorting (n=21): time 0.0007296/1.036, allocations: 267.4 kB / 1.164 GB, free: 14.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/1.036, allocations: 59.34 kB / 1.164 GB, free: 14.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/1.037, allocations: 215 kB / 1.164 GB, free: 14.02 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/1.037, allocations: 29.7 kB / 1.164 GB, free: 13.99 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/1.037, allocations: 144 kB / 1.164 GB, free: 13.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/1.037, allocations: 70.94 kB / 1.164 GB, free: 13.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/1.037, allocations: 4 kB / 1.164 GB, free: 13.77 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.037, allocations: 326.8 kB / 1.165 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/1.037, allocations: 76.22 kB / 1.165 GB, free: 13.37 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/1.037, allocations: 159.6 kB / 1.165 GB, free: 13.17 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/1.037, allocations: 87.97 kB / 1.165 GB, free: 13.09 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.037, allocations: 0 / 1.165 GB, free: 13.09 MB / 0.92 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005498/1.038, allocations: 290.4 kB / 1.165 GB, free: 12.8 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.038, allocations: 8 kB / 1.165 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/1.038, allocations: 4 kB / 1.165 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/1.038, allocations: 4 kB / 1.165 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/1.038, allocations: 59.91 kB / 1.165 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/1.038, allocations: 4 kB / 1.165 GB, free: 12.72 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/1.039, allocations: 35.59 kB / 1.165 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/1.039, allocations: 15.98 kB / 1.165 GB, free: 12.67 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/1.039, allocations: 137.9 kB / 1.166 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/1.039, allocations: 27.75 kB / 1.166 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005022/1.039, allocations: 284.7 kB / 1.166 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.039, allocations: 0 / 1.166 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.039, allocations: 0 / 1.166 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/1.039, allocations: 0 / 1.166 GB, free: 12.21 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/1.04, allocations: 0.5792 MB / 1.166 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.04, allocations: 4 kB / 1.166 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/1.041, allocations: 35.92 kB / 1.167 GB, free: 11.54 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-06/1.041, allocations: 4 kB / 1.167 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/1.041, allocations: 0 / 1.167 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.041, allocations: 4 kB / 1.167 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.041, allocations: 0 / 1.167 GB, free: 11.53 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005311/1.041, allocations: 349.5 kB / 1.167 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.041, allocations: 116.8 kB / 1.167 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/1.041, allocations: 4 kB / 1.167 GB, free: 11.03 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/1.042, allocations: 20.73 kB / 1.167 GB, free: 11.01 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/1.042, allocations: 23.94 kB / 1.167 GB, free: 10.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/1.042, allocations: 15.92 kB / 1.167 GB, free: 10.97 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001293/1.042, allocations: 149.5 kB / 1.167 GB, free: 10.82 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.042, allocations: 0 / 1.167 GB, free: 10.82 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0005343/1.042, allocations: 115.9 kB / 1.167 GB, free: 10.71 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003983/1.043, allocations: 191.1 kB / 1.167 GB, free: 10.52 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003822/1.043, allocations: 211.8 kB / 1.168 GB, free: 10.31 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.043, allocations: 0 / 1.168 GB, free: 10.31 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/1.043, allocations: 103.7 kB / 1.168 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/1.044, allocations: 92.61 kB / 1.168 GB, free: 10.12 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/1.045, allocations: 0.5602 MB / 1.168 GB, free: 9.527 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.045, allocations: 0.7328 MB / 1.169 GB, free: 8.77 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003312/1.046, allocations: 62.23 kB / 1.169 GB, free: 8.707 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.645e-05/1.046, allocations: 27.42 kB / 1.169 GB, free: 8.68 MB / 0.92 GB Notification: Performance of SimCode: time 6.81e-07/1.046, allocations: 0 / 1.169 GB, free: 8.68 MB / 0.92 GB Notification: Performance of Templates: time 0.01085/1.056, allocations: 5.123 MB / 1.174 GB, free: 3.629 MB / 0.92 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches