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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007544/0.007544, allocations: 104.3 kB / 15.74 MB, free: 6.039 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.001694/0.001694, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 63.91 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8197/0.8213, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003407/0.8248, allocations: 1.656 MB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00221/0.827, allocations: 1.175 MB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.8272, allocations: 0 / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.8275, allocations: 27.84 kB / 1.21 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004447/0.828, allocations: 63.62 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.8285, allocations: 147.1 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.8288, allocations: 253.5 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.829, allocations: 18.25 kB / 1.211 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.8291, allocations: 87.81 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.8294, allocations: 91.77 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.114e-05/0.8294, allocations: 23.94 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002094/0.8296, allocations: 79.95 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.8297, allocations: 79.75 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.8299, allocations: 103.4 kB / 1.211 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004225/0.8303, allocations: 287 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8303, allocations: 4 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8303, allocations: 0 / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.8303, allocations: 4 kB / 1.211 GB, free: 9.457 MB / 0.9356 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.0009314/0.8313, allocations: 0.5345 MB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.8313, allocations: 8.031 kB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.391e-05/0.8314, allocations: 54.73 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.362e-05/0.8315, allocations: 24.66 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.8319, allocations: 268.8 kB / 1.212 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.8319, allocations: 12.38 kB / 1.212 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.832, allocations: 16.36 kB / 1.212 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.8324, allocations: 230.2 kB / 1.212 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.8324, allocations: 3.938 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.8324, allocations: 4 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.8324, allocations: 4 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008443/0.8333, allocations: 0.7373 MB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.8342, allocations: 0.5783 MB / 1.214 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.8346, allocations: 228.7 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.8348, allocations: 100.8 kB / 1.214 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.739e-05/0.8348, allocations: 23.91 kB / 1.214 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003887/0.8352, allocations: 177.5 kB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.8352, allocations: 0 / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.000673/0.8359, allocations: 366.8 kB / 1.215 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.36e-05/0.836, allocations: 132.5 kB / 1.215 GB, free: 5.762 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.8363, allocations: 312.9 kB / 1.215 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.8363, allocations: 33.7 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.8364, allocations: 120.7 kB / 1.215 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-05/0.8365, allocations: 114.4 kB / 1.215 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.8366, allocations: 61.69 kB / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8368, allocations: 334.8 kB / 1.216 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.8369, allocations: 87.89 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.8371, allocations: 119.4 kB / 1.216 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.8374, allocations: 214.3 kB / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8374, allocations: 0 / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004146/0.8378, allocations: 265.3 kB / 1.216 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.8379, allocations: 5.719 kB / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.8379, allocations: 0 / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.8379, allocations: 4 kB / 1.216 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.8381, allocations: 63.91 kB / 1.216 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.8382, allocations: 3.938 kB / 1.216 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.8383, allocations: 39.67 kB / 1.216 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.8384, allocations: 12 kB / 1.216 GB, free: 3.953 MB / 0.9356 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.0001496/0.8385, allocations: 161.7 kB / 1.217 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.8386, allocations: 23.72 kB / 1.217 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/0.8392, allocations: 376.7 kB / 1.217 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8392, allocations: 4 kB / 1.217 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.8392, allocations: 3.938 kB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.8393, allocations: 0 / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.8396, allocations: 337.2 kB / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8396, allocations: 0 / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.8398, allocations: 59.91 kB / 1.217 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.8398, allocations: 0 / 1.217 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.8398, allocations: 8 kB / 1.217 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.8398, allocations: 0 / 1.217 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8398, allocations: 7.938 kB / 1.217 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.8403, allocations: 314.2 kB / 1.218 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.8404, allocations: 148.7 kB / 1.218 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.8405, allocations: 4 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.8406, allocations: 15.98 kB / 1.218 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.8407, allocations: 27.91 kB / 1.218 GB, free: 2.387 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.8407, allocations: 19.92 kB / 1.218 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000196/0.8409, allocations: 236.4 kB / 1.218 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8409, allocations: 0 / 1.218 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002862/0.8412, allocations: 56 kB / 1.218 GB, free: 2.078 MB / 0.9356 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.001566/0.8428, allocations: 1.147 MB / 1.219 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000393/0.8432, allocations: 224.3 kB / 1.219 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8432, allocations: 0 / 1.219 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.8434, allocations: 127.8 kB / 1.22 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.8437, allocations: 44.52 kB / 1.22 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.8464, allocations: 2.448 MB / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.8468, allocations: 0.7574 MB / 1.223 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003253/0.8471, allocations: 150.9 kB / 1.223 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.8473, allocations: 91.39 kB / 1.223 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of SimCode: time 6.42e-07/0.8473, allocations: 0 / 1.223 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.8723, allocations: 5.601 MB / 1.228 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.857/8.729, allocations: 10.36 kB / 1.228 GB, free: 7.645 MB / 0.9512 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > 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