Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007048/0.007048, allocations: 99.56 kB / 15.73 MB, free: 6.48 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.001508/0.001509, allocations: 189 kB / 16.67 MB, free: 6.367 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.774/2.774, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3678, allocations: 159.9 MB / 1.226 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.9196/1.287, allocations: 149.1 MB / 1.371 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004777/1.292, allocations: 3.615 MB / 1.375 GB, free: 7.695 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/1.293, allocations: 1.062 kB / 1.375 GB, free: 7.695 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004327/1.293, allocations: 65.69 kB / 1.375 GB, free: 7.664 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004799/1.294, allocations: 134.6 kB / 1.375 GB, free: 7.582 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002928/1.296, allocations: 1.012 MB / 1.376 GB, free: 7.082 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006292/1.297, allocations: 321.7 kB / 1.376 GB, free: 6.949 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/1.297, allocations: 16.52 kB / 1.376 GB, free: 6.945 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005313/1.298, allocations: 190.9 kB / 1.376 GB, free: 6.863 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/1.298, allocations: 134.9 kB / 1.377 GB, free: 6.809 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/1.298, allocations: 10.75 kB / 1.377 GB, free: 6.809 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/1.301, allocations: 1.217 MB / 1.378 GB, free: 6.316 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/1.301, allocations: 68.72 kB / 1.378 GB, free: 6.289 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002275/1.301, allocations: 110.9 kB / 1.378 GB, free: 6.238 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002042/1.303, allocations: 0.6401 MB / 1.379 GB, free: 6.031 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.303, allocations: 0 / 1.379 GB, free: 6.031 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.513e-06/1.303, allocations: 0 / 1.379 GB, free: 6.031 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.514e-05/1.303, allocations: 0 / 1.379 GB, free: 6.031 MB / 1.076 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.001903/1.305, allocations: 0.598 MB / 1.379 GB, free: 5.535 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.305, allocations: 9.25 kB / 1.379 GB, free: 5.535 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/1.306, allocations: 136 kB / 1.379 GB, free: 5.508 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/1.307, allocations: 219.4 kB / 1.379 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/1.307, allocations: 14.62 kB / 1.38 GB, free: 5.277 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/1.307, allocations: 20.28 kB / 1.38 GB, free: 5.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/1.307, allocations: 341.9 kB / 1.38 GB, free: 5.051 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.307, allocations: 1.125 kB / 1.38 GB, free: 5.051 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/1.307, allocations: 11.59 kB / 1.38 GB, free: 5.043 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/1.308, allocations: 10.41 kB / 1.38 GB, free: 5.043 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006721/1.308, allocations: 322.5 kB / 1.38 GB, free: 4.902 MB / 1.076 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.001831/1.31, allocations: 1.113 MB / 1.381 GB, free: 3.902 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004988/1.311, allocations: 188.1 kB / 1.381 GB, free: 3.816 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/1.311, allocations: 82.34 kB / 1.382 GB, free: 3.777 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/1.311, allocations: 464.7 kB / 1.382 GB, free: 3.273 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/1.311, allocations: 36.91 kB / 1.382 GB, free: 3.23 MB / 1.076 GB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/1.311, allocations: 1.188 kB / 1.382 GB, free: 3.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=21): time 0.0007092/1.312, allocations: 261.5 kB / 1.382 GB, free: 3.105 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.312, allocations: 56.66 kB / 1.382 GB, free: 3.039 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/1.312, allocations: 211.4 kB / 1.383 GB, free: 2.879 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/1.312, allocations: 28.52 kB / 1.383 GB, free: 2.848 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/1.312, allocations: 157 kB / 1.383 GB, free: 2.699 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.773e-05/1.312, allocations: 71.77 kB / 1.383 GB, free: 2.637 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-05/1.313, allocations: 55.06 kB / 1.383 GB, free: 2.598 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.313, allocations: 330.8 kB / 1.383 GB, free: 2.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001374/1.313, allocations: 66.02 kB / 1.383 GB, free: 2.246 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/1.313, allocations: 161.6 kB / 1.383 GB, free: 2.102 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/1.313, allocations: 245.5 kB / 1.384 GB, free: 1.918 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/1.313, allocations: 5.125 kB / 1.384 GB, free: 1.914 MB / 1.076 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005842/1.314, allocations: 285.7 kB / 1.384 GB, free: 1.773 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/1.314, allocations: 9.375 kB / 1.384 GB, free: 1.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/1.314, allocations: 3.312 kB / 1.384 GB, free: 1.77 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/1.314, allocations: 5.188 kB / 1.384 GB, free: 1.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002814/1.314, allocations: 68.22 kB / 1.384 GB, free: 1.746 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/1.314, allocations: 8.781 kB / 1.384 GB, free: 1.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/1.315, allocations: 27.69 kB / 1.384 GB, free: 1.723 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/1.315, allocations: 11.91 kB / 1.384 GB, free: 1.723 MB / 1.076 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.0001554/1.315, allocations: 138.1 kB / 1.384 GB, free: 1.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/1.315, allocations: 24.58 kB / 1.384 GB, free: 1.578 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/1.316, allocations: 274.9 kB / 1.384 GB, free: 1.422 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.316, allocations: 6.219 kB / 1.384 GB, free: 1.418 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.316, allocations: 7.984 kB / 1.384 GB, free: 1.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/1.316, allocations: 3 kB / 1.384 GB, free: 1.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008081/1.316, allocations: 0.5797 MB / 1.385 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.316, allocations: 5.312 kB / 1.385 GB, free: 0.9336 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/1.317, allocations: 30.73 kB / 1.385 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.317, allocations: 1.219 kB / 1.385 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/1.317, allocations: 10.27 kB / 1.385 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.317, allocations: 1.219 kB / 1.385 GB, free: 0.9219 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.317, allocations: 5.031 kB / 1.385 GB, free: 0.918 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/1.317, allocations: 349.4 kB / 1.385 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/1.317, allocations: 133.5 kB / 1.385 GB, free: 0.543 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/1.317, allocations: 1.969 kB / 1.386 GB, free: 0.543 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/1.318, allocations: 18.48 kB / 1.386 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/1.318, allocations: 9.484 kB / 1.386 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/1.318, allocations: 15.75 kB / 1.386 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001326/1.318, allocations: 157.2 kB / 1.386 GB, free: 420 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/1.318, allocations: 0 / 1.386 GB, free: 420 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005482/1.318, allocations: 111.9 kB / 1.386 GB, free: 400 kB / 1.076 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.0004786/1.319, allocations: 225 kB / 1.386 GB, free: 240 kB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003891/1.319, allocations: 212.8 kB / 1.386 GB, free: 156 kB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.319, allocations: 1.406 kB / 1.386 GB, free: 156 kB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/1.319, allocations: 104.1 kB / 1.386 GB, free: 116 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006132/1.32, allocations: 103.3 kB / 1.386 GB, free: 68 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008182/1.321, allocations: 457.3 kB / 1.387 GB, free: 15.76 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/1.321, allocations: 0.739 MB / 1.388 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002585/1.322, allocations: 59.98 kB / 1.388 GB, free: 15.01 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/1.322, allocations: 23.06 kB / 1.388 GB, free: 15 MB / 1.092 GB Notification: Performance of SimCode: time 2.71e-07/1.322, allocations: 1.344 kB / 1.388 GB, free: 15 MB / 1.092 GB Notification: Performance of Templates: time 0.01155/1.333, allocations: 5.529 MB / 1.393 GB, free: 12.24 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches