Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 98.88 kB / 16.02 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.9 MB / 0.667 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003631, allocations: 8 kB / 0.8166 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8466, allocations: 142.4 MB / 0.9557 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002065/0.8487, allocations: 1.374 MB / 0.957 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001696/0.8504, allocations: 1.13 MB / 0.9582 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.408e-05/0.8505, allocations: 1.062 kB / 0.9582 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.8508, allocations: 31.22 kB / 0.9582 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.8511, allocations: 49.94 kB / 0.9582 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.8515, allocations: 136.5 kB / 0.9584 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002782/0.8518, allocations: 223.4 kB / 0.9586 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.8519, allocations: 25.58 kB / 0.9586 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.8521, allocations: 72.89 kB / 0.9587 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.8523, allocations: 89.97 kB / 0.9588 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.8524, allocations: 9.625 kB / 0.9588 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.8526, allocations: 60.61 kB / 0.9588 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.8527, allocations: 82.92 kB / 0.9589 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.8528, allocations: 117.4 kB / 0.959 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.8531, allocations: 208.8 kB / 0.9592 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8531, allocations: 0 / 0.9592 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.284e-06/0.8532, allocations: 0 / 0.9592 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.8532, allocations: 0 / 0.9592 GB, free: 5.156 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007463/0.8539, allocations: 494.2 kB / 0.9597 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.854, allocations: 9 kB / 0.9597 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.405e-05/0.8541, allocations: 33.77 kB / 0.9597 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.8544, allocations: 265.9 kB / 0.96 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.8544, allocations: 11.28 kB / 0.96 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.559e-05/0.8544, allocations: 14.22 kB / 0.96 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.8548, allocations: 230.4 kB / 0.9602 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8548, allocations: 0 / 0.9602 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.8549, allocations: 6.406 kB / 0.9602 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.8549, allocations: 3.219 kB / 0.9602 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008446/0.8557, allocations: 0.7347 MB / 0.9609 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.8567, allocations: 0.5765 MB / 0.9615 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.8571, allocations: 226.3 kB / 0.9617 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001571/0.8573, allocations: 101.5 kB / 0.9618 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5e-05/0.8573, allocations: 20.62 kB / 0.9618 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.8577, allocations: 173.1 kB / 0.962 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.834e-06/0.8577, allocations: 7.875 kB / 0.962 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0006927/0.8584, allocations: 362.7 kB / 0.9624 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.8585, allocations: 136.4 kB / 0.9625 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003406/0.8588, allocations: 315 kB / 0.9628 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.8589, allocations: 31.7 kB / 0.9628 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.8589, allocations: 126 kB / 0.9629 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/0.859, allocations: 108.2 kB / 0.963 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.761e-05/0.8591, allocations: 30.7 kB / 0.9631 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.8592, allocations: 338.2 kB / 0.9634 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.8593, allocations: 79.33 kB / 0.9635 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002062/0.8595, allocations: 126.9 kB / 0.9636 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.8599, allocations: 205.5 kB / 0.9638 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8599, allocations: 0 / 0.9638 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004557/0.8603, allocations: 277.2 kB / 0.9641 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.8604, allocations: 3.969 kB / 0.9641 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8604, allocations: 2.656 kB / 0.9641 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.8604, allocations: 0 / 0.9641 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.8606, allocations: 60.16 kB / 0.9641 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.8606, allocations: 4 kB / 0.9641 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.8608, allocations: 38.05 kB / 0.9642 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.8609, allocations: 9.094 kB / 0.9642 GB, free: 1.527 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001502/0.861, allocations: 163.6 kB / 0.9643 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.8611, allocations: 25 kB / 0.9643 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006742/0.8617, allocations: 376.5 kB / 0.9647 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.8618, allocations: 7.75 kB / 0.9647 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.8618, allocations: 3.984 kB / 0.9647 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8618, allocations: 5.219 kB / 0.9647 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.8621, allocations: 331.4 kB / 0.965 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8621, allocations: 0 / 0.965 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.8623, allocations: 48.08 kB / 0.9651 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.8623, allocations: 5.172 kB / 0.9651 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.8623, allocations: 8.781 kB / 0.9651 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.8623, allocations: 5.125 kB / 0.9651 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8623, allocations: 5.094 kB / 0.9651 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004768/0.8628, allocations: 321.5 kB / 0.9654 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.863, allocations: 143.4 kB / 0.9656 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.863, allocations: 13.95 kB / 0.9656 GB, free: 496 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.8632, allocations: 25.06 kB / 0.9656 GB, free: 480 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.943e-05/0.8633, allocations: 32.58 kB / 0.9656 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.8633, allocations: 12.84 kB / 0.9656 GB, free: 456 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002295/0.8635, allocations: 236.2 kB / 0.9659 GB, free: 304 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8635, allocations: 0.9688 kB / 0.9659 GB, free: 304 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003255/0.8639, allocations: 63.91 kB / 0.9659 GB, free: 284 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009738/0.8649, allocations: 399.5 kB / 0.9663 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004063/0.8653, allocations: 221.6 kB / 0.9665 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8653, allocations: 1.062 kB / 0.9665 GB, free: 0 / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002319/0.8655, allocations: 127.4 kB / 0.9666 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.8658, allocations: 33.72 kB / 0.9667 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.8669, allocations: 0.6182 MB / 0.9673 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.8673, allocations: 0.7554 MB / 0.968 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.8675, allocations: 48.27 kB / 0.9681 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.8675, allocations: 3.938 kB / 0.9681 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of Templates: time 0.009686/0.8772, allocations: 4.165 MB / 0.9721 GB, free: 12.6 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches