Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001609/0.001609, allocations: 108.4 kB / 16.41 MB, free: 6.457 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.001683/0.001683, allocations: 187 kB / 17.34 MB, free: 5.719 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8844/0.8859, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1787/1.065, allocations: 149.1 MB / 1.234 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004559/1.069, allocations: 3.616 MB / 1.238 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000181/1.069, allocations: 1.031 kB / 1.238 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004177/1.07, allocations: 60.73 kB / 1.238 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004393/1.07, allocations: 143.2 kB / 1.238 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/1.073, allocations: 1.007 MB / 1.239 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005536/1.074, allocations: 329 kB / 1.239 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/1.074, allocations: 9.844 kB / 1.239 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005115/1.074, allocations: 185.8 kB / 1.239 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002931/1.075, allocations: 133.2 kB / 1.24 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.428e-05/1.075, allocations: 13.56 kB / 1.24 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/1.077, allocations: 1.221 MB / 1.241 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/1.077, allocations: 67.22 kB / 1.241 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000184/1.078, allocations: 110.2 kB / 1.241 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001437/1.079, allocations: 0.6317 MB / 1.242 GB, free: 284 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.079, allocations: 0 / 1.242 GB, free: 284 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.915e-06/1.079, allocations: 3.938 kB / 1.242 GB, free: 280 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.957e-06/1.079, allocations: 8.938 kB / 1.242 GB, free: 272 kB / 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.001554/1.081, allocations: 0.5891 MB / 1.242 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.081, allocations: 10.06 kB / 1.242 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/1.082, allocations: 139.4 kB / 1.242 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/1.082, allocations: 219 kB / 1.243 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/1.082, allocations: 17.75 kB / 1.243 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.799e-05/1.082, allocations: 14.66 kB / 1.243 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/1.083, allocations: 337.4 kB / 1.243 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/1.083, allocations: 5.062 kB / 1.243 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/1.083, allocations: 11.06 kB / 1.243 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/1.083, allocations: 16.17 kB / 1.243 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/1.084, allocations: 321.7 kB / 1.243 GB, free: 15.05 MB / 0.9825 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.001671/1.085, allocations: 1.115 MB / 1.244 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/1.086, allocations: 189.4 kB / 1.244 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/1.086, allocations: 86.34 kB / 1.245 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005255/1.086, allocations: 461.4 kB / 1.245 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/1.086, allocations: 42.55 kB / 1.245 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/1.086, allocations: 0 / 1.245 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.000661/1.087, allocations: 261.1 kB / 1.245 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/1.087, allocations: 55.41 kB / 1.245 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/1.087, allocations: 199.1 kB / 1.246 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/1.087, allocations: 33.7 kB / 1.246 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/1.088, allocations: 148 kB / 1.246 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/1.088, allocations: 74.94 kB / 1.246 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.327e-05/1.088, allocations: 53.61 kB / 1.246 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.088, allocations: 326.8 kB / 1.246 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/1.088, allocations: 72.22 kB / 1.246 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/1.088, allocations: 164.7 kB / 1.246 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/1.088, allocations: 242.9 kB / 1.247 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.088, allocations: 4 kB / 1.247 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005191/1.089, allocations: 287.5 kB / 1.247 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.089, allocations: 8 kB / 1.247 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.089, allocations: 4 kB / 1.247 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/1.089, allocations: 7.938 kB / 1.247 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/1.089, allocations: 51.92 kB / 1.247 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/1.089, allocations: 16.28 kB / 1.247 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/1.09, allocations: 31.69 kB / 1.247 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/1.09, allocations: 19.94 kB / 1.247 GB, free: 11.15 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.0001319/1.09, allocations: 134.3 kB / 1.247 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/1.09, allocations: 27.7 kB / 1.247 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/1.09, allocations: 271.2 kB / 1.247 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/1.09, allocations: 7.938 kB / 1.247 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/1.09, allocations: 0 / 1.247 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.09, allocations: 4 kB / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007326/1.091, allocations: 0.5947 MB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.091, allocations: 0 / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/1.091, allocations: 35.92 kB / 1.248 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/1.091, allocations: 4 kB / 1.248 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/1.091, allocations: 4 kB / 1.248 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/1.091, allocations: 4 kB / 1.248 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.091, allocations: 0 / 1.248 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005072/1.092, allocations: 353.7 kB / 1.248 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/1.092, allocations: 112.8 kB / 1.248 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/1.092, allocations: 7.984 kB / 1.249 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/1.092, allocations: 12 kB / 1.249 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/1.092, allocations: 15.98 kB / 1.249 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/1.092, allocations: 15.98 kB / 1.249 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001231/1.093, allocations: 148.3 kB / 1.249 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.093, allocations: 0 / 1.249 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005155/1.093, allocations: 119.9 kB / 1.249 GB, free: 9.191 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.0004456/1.094, allocations: 223 kB / 1.249 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003672/1.094, allocations: 203.8 kB / 1.249 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.094, allocations: 3.938 kB / 1.249 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/1.094, allocations: 103.8 kB / 1.249 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/1.095, allocations: 107.1 kB / 1.249 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007657/1.095, allocations: 0.4895 MB / 1.25 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/1.096, allocations: 0.7289 MB / 1.251 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/1.096, allocations: 27.44 kB / 1.251 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/1.096, allocations: 3.938 kB / 1.251 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of Templates: time 0.007231/1.103, allocations: 4.363 MB / 1.255 GB, free: 2.906 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Media.Examples.AirProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.AirProperties.sim & ./Buildings_9_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.AirProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_AirProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.AirProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches