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.001089/0.001089, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001179/0.001179, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 240 MB, free: 5.434 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.589/2.589, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004048, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8573/0.8577, allocations: 142.4 MB / 0.9544 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.001842/0.8596, allocations: 1.357 MB / 0.9558 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.8611, allocations: 1.093 MB / 0.9568 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.058e-05/0.8612, allocations: 1.156 kB / 0.9568 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.8614, allocations: 14.48 kB / 0.9569 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002339/0.8616, allocations: 60.03 kB / 0.9569 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.862, allocations: 135.2 kB / 0.957 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.8622, allocations: 209 kB / 0.9572 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.8623, allocations: 16.75 kB / 0.9573 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.804e-05/0.8624, allocations: 74.16 kB / 0.9573 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.8626, allocations: 83.27 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.8627, allocations: 9.969 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.8628, allocations: 59.58 kB / 0.9575 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.656e-05/0.8629, allocations: 65.72 kB / 0.9575 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.545e-05/0.863, allocations: 57.77 kB / 0.9576 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.8632, allocations: 203.8 kB / 0.9578 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.8632, allocations: 5.812 kB / 0.9578 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.063e-06/0.8632, allocations: 0 / 0.9578 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8632, allocations: 0 / 0.9578 GB, free: 5.203 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.000614/0.8638, allocations: 498.9 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.8639, allocations: 9.625 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.864, allocations: 33.33 kB / 0.9583 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.8642, allocations: 256.5 kB / 0.9585 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.8642, allocations: 14.88 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.8643, allocations: 17.62 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.8646, allocations: 217.7 kB / 0.9588 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.8646, allocations: 0 / 0.9588 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.8646, allocations: 5.375 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.8647, allocations: 4.125 kB / 0.9588 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008601/0.8655, allocations: 0.7328 MB / 0.9595 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007569/0.8663, allocations: 0.5732 MB / 0.9601 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.8666, allocations: 225 kB / 0.9603 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.8668, allocations: 99.72 kB / 0.9604 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.8668, allocations: 24.66 kB / 0.9604 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003356/0.8672, allocations: 180.2 kB / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.8672, allocations: 0 / 0.9606 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.0006385/0.8678, allocations: 362.9 kB / 0.9609 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.8679, allocations: 132.3 kB / 0.9611 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.8682, allocations: 305.6 kB / 0.9613 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.8682, allocations: 32.2 kB / 0.9614 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.8683, allocations: 125.5 kB / 0.9615 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.8683, allocations: 105.1 kB / 0.9616 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.8684, allocations: 9.125 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.8684, allocations: 338.7 kB / 0.9619 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.8686, allocations: 73.8 kB / 0.962 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.8687, allocations: 130.1 kB / 0.9621 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.8689, allocations: 100 kB / 0.9622 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8689, allocations: 1.031 kB / 0.9622 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003915/0.8693, allocations: 274.2 kB / 0.9625 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.8694, allocations: 5.5 kB / 0.9625 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8694, allocations: 7.922 kB / 0.9625 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.8694, allocations: 2.562 kB / 0.9625 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.8696, allocations: 61.47 kB / 0.9626 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8696, allocations: 1.531 kB / 0.9626 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.8698, allocations: 31.72 kB / 0.9626 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.8698, allocations: 12.39 kB / 0.9626 GB, free: 1.66 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.8699, allocations: 166.2 kB / 0.9628 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.162e-05/0.87, allocations: 32.17 kB / 0.9628 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006253/0.8706, allocations: 374.9 kB / 0.9631 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.8706, allocations: 7.906 kB / 0.9631 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8706, allocations: 4 kB / 0.9632 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8706, allocations: 0 / 0.9632 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.8709, allocations: 330.9 kB / 0.9635 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8709, allocations: 4 kB / 0.9635 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.8711, allocations: 56.53 kB / 0.9635 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8711, allocations: 0 / 0.9635 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.8711, allocations: 11.52 kB / 0.9635 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.8711, allocations: 7.719 kB / 0.9635 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.8711, allocations: 3.984 kB / 0.9635 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003966/0.8715, allocations: 305.1 kB / 0.9638 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.8717, allocations: 150.9 kB / 0.964 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.8717, allocations: 10.09 kB / 0.964 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.8719, allocations: 21.44 kB / 0.964 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.8719, allocations: 24.09 kB / 0.964 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.872, allocations: 13.2 kB / 0.964 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001856/0.8721, allocations: 235.3 kB / 0.9643 GB, free: 448 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8722, allocations: 0 / 0.9643 GB, free: 448 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002984/0.8725, allocations: 64.83 kB / 0.9643 GB, free: 428 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009734/0.8734, allocations: 419.1 kB / 0.9647 GB, free: 212 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004318/0.8739, allocations: 220.3 kB / 0.9649 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8739, allocations: 0 / 0.9649 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.8741, allocations: 126.9 kB / 0.9651 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.8744, allocations: 32.88 kB / 0.9651 GB, free: 48 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8755, allocations: 0.5601 MB / 0.9656 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.8759, allocations: 0.7548 MB / 0.9664 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003589/0.8763, allocations: 143.7 kB / 0.9665 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.886e-05/0.8764, allocations: 40.48 kB / 0.9666 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8764, allocations: 0 / 0.9666 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.007138/0.8835, allocations: 2.826 MB / 0.9693 GB, free: 13.44 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/jenkins/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