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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001494/0.001495, allocations: 100.1 kB / 15.88 MB, free: 12 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.001731/0.001731, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.782/2.782, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 63.78 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3355, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.00344/0.339, allocations: 1.72 MB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3408, allocations: 1.148 MB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.3409, allocations: 0 / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.3412, allocations: 19.91 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002916/0.3415, allocations: 51.78 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.342, allocations: 138.5 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.3423, allocations: 233.4 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3424, allocations: 27.97 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3425, allocations: 67.83 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.3428, allocations: 95.64 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.3429, allocations: 8 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.343, allocations: 63.97 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3431, allocations: 71.81 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.3433, allocations: 103.3 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.3436, allocations: 207.9 kB / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3436, allocations: 4 kB / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3436, allocations: 0 / 1.057 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3436, allocations: 0 / 1.057 GB, free: 4.363 MB / 0.8106 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.0008426/0.3444, allocations: 0.5345 MB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.3445, allocations: 11.97 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.3446, allocations: 32.56 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.3449, allocations: 268.5 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3449, allocations: 12.38 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.345, allocations: 12.38 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.3454, allocations: 228.8 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3454, allocations: 0 / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.3454, allocations: 7.984 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3454, allocations: 4 kB / 1.058 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008339/0.3463, allocations: 0.7373 MB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/0.3472, allocations: 0.582 MB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.3476, allocations: 219.5 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.3477, allocations: 100.8 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.898e-05/0.3478, allocations: 23.95 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003609/0.3482, allocations: 173.5 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.3482, allocations: 0 / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.000679/0.3489, allocations: 359.7 kB / 1.06 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.349, allocations: 140.5 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.3493, allocations: 304.9 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3493, allocations: 33.7 kB / 1.06 GB, free: 392 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.3494, allocations: 128.7 kB / 1.06 GB, free: 260 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.054e-05/0.3495, allocations: 110.4 kB / 1.06 GB, free: 148 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.832e-05/0.3496, allocations: 65.69 kB / 1.061 GB, free: 76 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3497, allocations: 334.8 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.3499, allocations: 79.95 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.3501, allocations: 127.6 kB / 1.061 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003185/0.3504, allocations: 204.7 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3504, allocations: 3.938 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004319/0.3508, allocations: 273.7 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3509, allocations: 8 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3509, allocations: 0 / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3509, allocations: 0 / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.3511, allocations: 63.91 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3511, allocations: 3.938 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.3513, allocations: 27.77 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.3513, allocations: 19.98 kB / 1.062 GB, free: 14.92 MB / 0.8262 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.000156/0.3515, allocations: 149.8 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/0.3516, allocations: 31.62 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.3522, allocations: 384.7 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3522, allocations: 4 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3522, allocations: 0 / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3523, allocations: 3.938 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.3526, allocations: 333.3 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3526, allocations: 0 / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.3528, allocations: 55.91 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3528, allocations: 4 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3528, allocations: 8 kB / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3528, allocations: 0 / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3528, allocations: 0 / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.3533, allocations: 318.2 kB / 1.063 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.3534, allocations: 144.7 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.3535, allocations: 4 kB / 1.063 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3536, allocations: 19.92 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.3537, allocations: 35.89 kB / 1.063 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.3537, allocations: 16 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002044/0.354, allocations: 232.4 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.354, allocations: 0 / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002961/0.3543, allocations: 67.84 kB / 1.063 GB, free: 13.05 MB / 0.8262 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.0009737/0.3552, allocations: 408 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.3557, allocations: 223.8 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3557, allocations: 4 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.3559, allocations: 123.9 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3562, allocations: 32.66 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009173/0.3571, allocations: 0.6074 MB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.3574, allocations: 0.7535 MB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.3575, allocations: 55.41 kB / 1.066 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3575, allocations: 0 / 1.066 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of Templates: time 0.007126/0.3647, allocations: 4.184 MB / 1.07 GB, free: 6.766 MB / 0.8262 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 -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