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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006196/0.006196, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.001332/0.001332, allocations: 196.4 kB / 16.68 MB, free: 6.352 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 1.019 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3549, allocations: 151.6 MB / 1.167 GB, free: 6.707 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.9649/1.32, allocations: 149.1 MB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004393/1.324, allocations: 3.623 MB / 1.316 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/1.324, allocations: 0.7188 kB / 1.316 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004492/1.325, allocations: 65.88 kB / 1.316 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004876/1.325, allocations: 129.9 kB / 1.316 GB, free: 12.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/1.329, allocations: 1.017 MB / 1.317 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005798/1.33, allocations: 319 kB / 1.317 GB, free: 12.17 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.332e-05/1.33, allocations: 15.53 kB / 1.317 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004576/1.33, allocations: 193.5 kB / 1.317 GB, free: 12.1 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/1.331, allocations: 129.3 kB / 1.318 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/1.331, allocations: 10.56 kB / 1.318 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/1.334, allocations: 1.219 MB / 1.319 GB, free: 11.76 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/1.334, allocations: 75.47 kB / 1.319 GB, free: 11.75 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/1.334, allocations: 110 kB / 1.319 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001597/1.336, allocations: 0.637 MB / 1.32 GB, free: 11.59 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.336, allocations: 0.5156 kB / 1.32 GB, free: 11.59 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/1.336, allocations: 0 / 1.32 GB, free: 11.59 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.175e-06/1.336, allocations: 0 / 1.32 GB, free: 11.59 MB / 1.014 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.001245/1.337, allocations: 0.591 MB / 1.32 GB, free: 11.13 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.337, allocations: 13.78 kB / 1.32 GB, free: 11.13 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/1.338, allocations: 133.4 kB / 1.32 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/1.339, allocations: 220.2 kB / 1.321 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/1.339, allocations: 23.41 kB / 1.321 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/1.339, allocations: 16.41 kB / 1.321 GB, free: 10.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008191/1.34, allocations: 338.2 kB / 1.321 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/1.34, allocations: 0 / 1.321 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.24e-05/1.34, allocations: 10.75 kB / 1.321 GB, free: 10.81 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.764e-05/1.34, allocations: 21.97 kB / 1.321 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007285/1.341, allocations: 331.4 kB / 1.321 GB, free: 10.79 MB / 1.014 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.002053/1.343, allocations: 1.106 MB / 1.322 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/1.343, allocations: 197.3 kB / 1.322 GB, free: 9.977 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/1.343, allocations: 83.48 kB / 1.323 GB, free: 9.969 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/1.344, allocations: 458.2 kB / 1.323 GB, free: 9.496 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.344, allocations: 34.47 kB / 1.323 GB, free: 9.457 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/1.344, allocations: 4 kB / 1.323 GB, free: 9.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.00073/1.345, allocations: 271.9 kB / 1.323 GB, free: 9.398 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/1.345, allocations: 54.8 kB / 1.323 GB, free: 9.336 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/1.345, allocations: 204.3 kB / 1.324 GB, free: 9.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/1.345, allocations: 30.27 kB / 1.324 GB, free: 9.199 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/1.345, allocations: 149.8 kB / 1.324 GB, free: 9.078 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.596e-05/1.345, allocations: 78.14 kB / 1.324 GB, free: 9.027 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/1.345, allocations: 51.19 kB / 1.324 GB, free: 9.008 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.346, allocations: 336.4 kB / 1.324 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/1.346, allocations: 67.52 kB / 1.324 GB, free: 8.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/1.346, allocations: 159.2 kB / 1.324 GB, free: 8.586 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/1.346, allocations: 247 kB / 1.325 GB, free: 8.465 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/1.346, allocations: 1.188 kB / 1.325 GB, free: 8.465 MB / 1.014 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005657/1.347, allocations: 295.1 kB / 1.325 GB, free: 8.395 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.347, allocations: 5.156 kB / 1.325 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.347, allocations: 3.969 kB / 1.325 GB, free: 8.395 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/1.347, allocations: 8.328 kB / 1.325 GB, free: 8.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/1.347, allocations: 59.45 kB / 1.325 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/1.347, allocations: 4.609 kB / 1.325 GB, free: 8.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/1.347, allocations: 29.38 kB / 1.325 GB, free: 8.367 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.177e-05/1.347, allocations: 13.78 kB / 1.325 GB, free: 8.367 MB / 1.014 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/1.348, allocations: 140.9 kB / 1.325 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/1.348, allocations: 22.22 kB / 1.325 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/1.348, allocations: 286.3 kB / 1.325 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.348, allocations: 10.86 kB / 1.325 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.348, allocations: 0 / 1.325 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/1.348, allocations: 2.062 kB / 1.325 GB, free: 8.176 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/1.349, allocations: 0.5807 MB / 1.326 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.35, allocations: 3.938 kB / 1.326 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/1.35, allocations: 30.77 kB / 1.326 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/1.35, allocations: 2.594 kB / 1.326 GB, free: 7.777 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.35, allocations: 6.016 kB / 1.326 GB, free: 7.773 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/1.35, allocations: 5.062 kB / 1.326 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.35, allocations: 5.922 kB / 1.326 GB, free: 7.77 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006398/1.35, allocations: 344.4 kB / 1.326 GB, free: 7.562 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/1.351, allocations: 122.9 kB / 1.327 GB, free: 7.449 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/1.351, allocations: 6.062 kB / 1.327 GB, free: 7.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/1.351, allocations: 15.62 kB / 1.327 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/1.351, allocations: 11.25 kB / 1.327 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/1.351, allocations: 15.67 kB / 1.327 GB, free: 7.438 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001872/1.351, allocations: 154.8 kB / 1.327 GB, free: 7.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.351, allocations: 0 / 1.327 GB, free: 7.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007993/1.352, allocations: 118.5 kB / 1.327 GB, free: 7.316 MB / 1.014 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.0005994/1.353, allocations: 216.8 kB / 1.327 GB, free: 7.191 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005763/1.353, allocations: 208.9 kB / 1.327 GB, free: 7.141 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.353, allocations: 0 / 1.327 GB, free: 7.141 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/1.353, allocations: 100.9 kB / 1.327 GB, free: 7.117 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007644/1.354, allocations: 104.8 kB / 1.327 GB, free: 7.082 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009541/1.355, allocations: 466 kB / 1.328 GB, free: 6.812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/1.356, allocations: 0.7404 MB / 1.329 GB, free: 6.109 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002418/1.356, allocations: 59.72 kB / 1.329 GB, free: 6.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.245e-05/1.356, allocations: 27.83 kB / 1.329 GB, free: 6.078 MB / 1.014 GB Notification: Performance of SimCode: time 3.41e-07/1.356, allocations: 0 / 1.329 GB, free: 6.078 MB / 1.014 GB Notification: Performance of Templates: time 0.01124/1.367, allocations: 5.522 MB / 1.334 GB, free: 5.652 MB / 1.014 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