Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001383/0.001383, allocations: 102.5 kB / 16.39 MB, free: 6.379 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.001412/0.001412, allocations: 193.8 kB / 17.33 MB, free: 5.848 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 474.5 MB / 0.7477 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.91 kB / 1.073 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.736/0.738, allocations: 160.3 MB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002961/0.741, allocations: 1.658 MB / 1.231 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.7428, allocations: 1.181 MB / 1.232 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.7428, allocations: 0 / 1.232 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.7431, allocations: 23.84 kB / 1.232 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.7433, allocations: 67.62 kB / 1.232 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.7437, allocations: 163.3 kB / 1.232 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.7441, allocations: 245.5 kB / 1.232 GB, free: 7.699 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.586e-05/0.7442, allocations: 23.98 kB / 1.232 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.7443, allocations: 75.83 kB / 1.232 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.7445, allocations: 99.7 kB / 1.233 GB, free: 7.504 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.7445, allocations: 20 kB / 1.233 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.7447, allocations: 79.91 kB / 1.233 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.7448, allocations: 83.75 kB / 1.233 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.7449, allocations: 99.39 kB / 1.233 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.7453, allocations: 303.2 kB / 1.233 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7453, allocations: 0 / 1.233 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7453, allocations: 0 / 1.233 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.7453, allocations: 0 / 1.233 GB, free: 6.938 MB / 0.9512 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.0008502/0.7462, allocations: 0.5419 MB / 1.234 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.7462, allocations: 12.03 kB / 1.234 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/0.7463, allocations: 32.73 kB / 1.234 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.7466, allocations: 268.9 kB / 1.234 GB, free: 6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.7467, allocations: 8.375 kB / 1.234 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/0.7467, allocations: 20.38 kB / 1.234 GB, free: 5.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.7472, allocations: 221.2 kB / 1.234 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.7472, allocations: 0 / 1.234 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.7472, allocations: 12 kB / 1.234 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.7472, allocations: 8 kB / 1.234 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.7483, allocations: 0.7334 MB / 1.235 GB, free: 4.984 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.7494, allocations: 0.5784 MB / 1.236 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004135/0.7498, allocations: 231.5 kB / 1.236 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.75, allocations: 100.8 kB / 1.236 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.7501, allocations: 23.97 kB / 1.236 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003441/0.7504, allocations: 178 kB / 1.236 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 1.563e-06/0.7504, allocations: 4 kB / 1.236 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=33): time 0.0007048/0.7511, allocations: 362.9 kB / 1.236 GB, free: 3.445 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.7512, allocations: 132.5 kB / 1.236 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.7516, allocations: 308.9 kB / 1.237 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.7516, allocations: 29.7 kB / 1.237 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.7517, allocations: 132.7 kB / 1.237 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.7518, allocations: 115 kB / 1.237 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.7519, allocations: 61.69 kB / 1.237 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7521, allocations: 338.8 kB / 1.237 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.7522, allocations: 79.95 kB / 1.238 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.7524, allocations: 120.4 kB / 1.238 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.7528, allocations: 213.2 kB / 1.238 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7528, allocations: 0 / 1.238 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00045/0.7533, allocations: 269.4 kB / 1.238 GB, free: 1.598 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7533, allocations: 8 kB / 1.238 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.7533, allocations: 0 / 1.238 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7533, allocations: 0 / 1.238 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.7535, allocations: 63.84 kB / 1.238 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7536, allocations: 0 / 1.238 GB, free: 1.527 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.7537, allocations: 35.77 kB / 1.238 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.7537, allocations: 8 kB / 1.238 GB, free: 1.484 MB / 0.9512 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.0001691/0.7539, allocations: 177.2 kB / 1.238 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.754, allocations: 23.86 kB / 1.238 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000715/0.7547, allocations: 388.8 kB / 1.239 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7547, allocations: 4 kB / 1.239 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.7547, allocations: 4 kB / 1.239 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7547, allocations: 3.938 kB / 1.239 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.7551, allocations: 329.3 kB / 1.239 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7551, allocations: 0 / 1.239 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.7553, allocations: 55.97 kB / 1.239 GB, free: 464 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.7553, allocations: 3.938 kB / 1.239 GB, free: 460 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.7553, allocations: 12 kB / 1.239 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7553, allocations: 4 kB / 1.239 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7553, allocations: 0 / 1.239 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.7558, allocations: 317.8 kB / 1.239 GB, free: 104 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.756, allocations: 141 kB / 1.24 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.756, allocations: 8 kB / 1.24 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.7562, allocations: 15.98 kB / 1.24 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.7563, allocations: 23.72 kB / 1.24 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.7563, allocations: 19.98 kB / 1.24 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002237/0.7565, allocations: 236.4 kB / 1.24 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7565, allocations: 0 / 1.24 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000291/0.7568, allocations: 55.94 kB / 1.24 GB, free: 15.6 MB / 0.9669 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.00142/0.7583, allocations: 421.4 kB / 1.24 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004196/0.7587, allocations: 228.3 kB / 1.241 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7587, allocations: 0 / 1.241 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.7589, allocations: 123.8 kB / 1.241 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.7592, allocations: 32.67 kB / 1.241 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008422/0.76, allocations: 0.5086 MB / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.7604, allocations: 0.7574 MB / 1.242 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003413/0.7608, allocations: 138.9 kB / 1.242 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.7609, allocations: 47.41 kB / 1.242 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.7609, allocations: 0 / 1.242 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of Templates: time 0.007685/0.7686, allocations: 3.082 MB / 1.245 GB, free: 10.39 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches