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.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.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.001281/0.001282, allocations: 105.8 kB / 16.41 MB, free: 6.5 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.001641/0.001641, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7523/0.7538, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00285/0.7567, allocations: 1.662 MB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.7582, allocations: 1.173 MB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.7583, allocations: 1.094 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.7586, allocations: 24.02 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.7589, allocations: 63.23 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.7593, allocations: 154.8 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.7596, allocations: 245.3 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.7597, allocations: 20.72 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.7598, allocations: 85.11 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.7601, allocations: 97.25 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.795e-05/0.7601, allocations: 17.72 kB / 1.092 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.7603, allocations: 77.09 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.958e-05/0.7604, allocations: 85.27 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.7605, allocations: 104.9 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.7609, allocations: 297.5 kB / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7609, allocations: 1.125 kB / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7609, allocations: 0 / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.7609, allocations: 0 / 1.093 GB, free: 2.973 MB / 0.8575 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.0006814/0.7616, allocations: 0.5354 MB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.7617, allocations: 9.5 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.7617, allocations: 30.75 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.762, allocations: 267.9 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.762, allocations: 14.56 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.851e-05/0.762, allocations: 14.34 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.7624, allocations: 219.7 kB / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.7625, allocations: 0 / 1.094 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.7625, allocations: 6.125 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7625, allocations: 4.312 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.7636, allocations: 0.7439 MB / 1.094 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008693/0.7644, allocations: 0.5707 MB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003925/0.7648, allocations: 230.9 kB / 1.095 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.765, allocations: 101.8 kB / 1.095 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.226e-05/0.7651, allocations: 24.83 kB / 1.095 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.7654, allocations: 181.7 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.7654, allocations: 0 / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33): time 0.0006961/0.7661, allocations: 364.6 kB / 1.096 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.7662, allocations: 132.8 kB / 1.096 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.7665, allocations: 310.4 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.7666, allocations: 32.36 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.7666, allocations: 127.4 kB / 1.096 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.128e-05/0.7667, allocations: 113.8 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.7668, allocations: 61.03 kB / 1.097 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.7669, allocations: 337.8 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.7671, allocations: 76.19 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.7673, allocations: 127 kB / 1.097 GB, free: 228 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.7676, allocations: 203.9 kB / 1.097 GB, free: 148 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7676, allocations: 4 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004362/0.768, allocations: 273.8 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7681, allocations: 5.281 kB / 1.098 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.7681, allocations: 7.969 kB / 1.098 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.7681, allocations: 5.938 kB / 1.098 GB, free: 16 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.7683, allocations: 58.84 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7683, allocations: 0.875 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.7685, allocations: 38.17 kB / 1.098 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.7686, allocations: 13.97 kB / 1.098 GB, free: 15.98 MB / 0.8731 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.0001761/0.7688, allocations: 170.9 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.7688, allocations: 23.97 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.7695, allocations: 376.5 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.7696, allocations: 3.953 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7696, allocations: 0 / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.7696, allocations: 6.844 kB / 1.098 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.7699, allocations: 325.2 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7699, allocations: 1.312 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.7701, allocations: 55.34 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.7701, allocations: 1.891 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.27e-05/0.7701, allocations: 9.516 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.7702, allocations: 5.969 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7702, allocations: 4.875 kB / 1.099 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005074/0.7707, allocations: 324.1 kB / 1.099 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.7708, allocations: 142.5 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.7709, allocations: 7.031 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.7711, allocations: 19.83 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.7711, allocations: 23.94 kB / 1.099 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.7712, allocations: 16 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002297/0.7714, allocations: 242.4 kB / 1.099 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7714, allocations: 0 / 1.099 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003258/0.7717, allocations: 54.7 kB / 1.099 GB, free: 14.95 MB / 0.8731 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.0009757/0.7727, allocations: 404.2 kB / 1.1 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004544/0.7732, allocations: 222.3 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7732, allocations: 0 / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.7734, allocations: 123.1 kB / 1.1 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.7737, allocations: 36.83 kB / 1.1 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009379/0.7747, allocations: 0.5281 MB / 1.101 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.775, allocations: 0.7631 MB / 1.101 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.7752, allocations: 52.22 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/0.7752, allocations: 0 / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of Templates: time 0.007964/0.7831, allocations: 4.221 MB / 1.106 GB, free: 13.11 MB / 0.8731 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