Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001299/0.001304, 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.001384/0.001384, allocations: 191.6 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.742 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 66.75 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3364, allocations: 159.1 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1798/0.5163, allocations: 147 MB / 1.207 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004397/0.5208, allocations: 3.599 MB / 1.211 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.5209, allocations: 0 / 1.211 GB, free: 7.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.5211, allocations: 55.7 kB / 1.211 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.5215, allocations: 127.3 kB / 1.211 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.5239, allocations: 0.9558 MB / 1.212 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004044/0.5243, allocations: 327.6 kB / 1.212 GB, free: 6 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.5244, allocations: 13.56 kB / 1.212 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.5247, allocations: 187.3 kB / 1.212 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.5249, allocations: 135.5 kB / 1.212 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.5249, allocations: 11.94 kB / 1.212 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.527, allocations: 1.286 MB / 1.214 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.5271, allocations: 67.78 kB / 1.214 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.5273, allocations: 107.5 kB / 1.214 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.5285, allocations: 0.7326 MB / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5285, allocations: 0 / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5285, allocations: 0 / 1.214 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.5285, allocations: 0 / 1.214 GB, free: 3.465 MB / 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.001117/0.5296, allocations: 0.5928 MB / 1.215 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5296, allocations: 8.031 kB / 1.215 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.5309, allocations: 136.5 kB / 1.215 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.5311, allocations: 220.1 kB / 1.215 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.5312, allocations: 16.31 kB / 1.215 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.546e-05/0.5312, allocations: 16 kB / 1.215 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005978/0.5318, allocations: 334.3 kB / 1.216 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5318, allocations: 0 / 1.216 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.5319, allocations: 8 kB / 1.216 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/0.5319, allocations: 23.98 kB / 1.216 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.5325, allocations: 328.1 kB / 1.216 GB, free: 1.695 MB / 0.9669 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.001667/0.5342, allocations: 1.101 MB / 1.217 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.5347, allocations: 196.1 kB / 1.217 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.5348, allocations: 80.8 kB / 1.217 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.5355, allocations: 457.4 kB / 1.218 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.5356, allocations: 38.56 kB / 1.218 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.004e-06/0.5356, allocations: 4 kB / 1.218 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.0006707/0.5363, allocations: 255.2 kB / 1.218 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.5363, allocations: 59.34 kB / 1.218 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.5366, allocations: 214.9 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.5366, allocations: 29.7 kB / 1.218 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.5367, allocations: 144 kB / 1.219 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.5368, allocations: 78.98 kB / 1.219 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.5369, allocations: 53.61 kB / 1.219 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5371, allocations: 326.8 kB / 1.219 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.5373, allocations: 72.33 kB / 1.219 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.5375, allocations: 159.6 kB / 1.219 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.5378, allocations: 245.9 kB / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5379, allocations: 0 / 1.219 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005392/0.5384, allocations: 285.1 kB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.5384, allocations: 8 kB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5384, allocations: 7.984 kB / 1.22 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.5385, allocations: 7.938 kB / 1.22 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.5388, allocations: 55.92 kB / 1.22 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.5388, allocations: 8.312 kB / 1.22 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.539, allocations: 35.67 kB / 1.22 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.213e-05/0.5391, allocations: 16 kB / 1.22 GB, free: 13.48 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.0001463/0.5392, allocations: 137.7 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5394, allocations: 27.7 kB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005147/0.5399, allocations: 271.3 kB / 1.22 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.5399, allocations: 11.94 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5399, allocations: 0 / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5399, allocations: 3.938 kB / 1.22 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008147/0.5407, allocations: 0.5871 MB / 1.221 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5408, allocations: 0 / 1.221 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.5409, allocations: 27.98 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.541, allocations: 4 kB / 1.221 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.541, allocations: 4 kB / 1.221 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.541, allocations: 8.062 kB / 1.221 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.541, allocations: 0 / 1.221 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005242/0.5415, allocations: 352 kB / 1.221 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.5417, allocations: 116.8 kB / 1.221 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.5417, allocations: 7.984 kB / 1.221 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.542, allocations: 19.91 kB / 1.221 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.542, allocations: 11.98 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.5421, allocations: 15.98 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001412/0.5422, allocations: 157.3 kB / 1.222 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5422, allocations: 0 / 1.222 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005175/0.5427, allocations: 115.9 kB / 1.222 GB, free: 11.51 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.0004953/0.5432, allocations: 219 kB / 1.222 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004303/0.5437, allocations: 219.6 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5437, allocations: 0.75 kB / 1.222 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001482/0.5438, allocations: 107.9 kB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.5445, allocations: 93.47 kB / 1.222 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009239/0.5454, allocations: 0.5327 MB / 1.223 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.5458, allocations: 0.7328 MB / 1.223 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002948/0.5461, allocations: 62.23 kB / 1.224 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.5462, allocations: 23.44 kB / 1.224 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.5462, allocations: 4 kB / 1.224 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of Templates: time 0.01095/0.5571, allocations: 5.466 MB / 1.229 GB, free: 4.07 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirProperties.sim & ./Buildings_11_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches