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.008197/0.008198, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001779/0.001779, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.307/1.307, 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.442/2.442, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002339, allocations: 67.89 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8273/0.8296, 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.003071/0.8327, allocations: 1.656 MB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.8344, allocations: 1.175 MB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.131e-05/0.8345, allocations: 4 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.8347, allocations: 15.86 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.8351, allocations: 75.61 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.8355, allocations: 152 kB / 1.21 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002819/0.8358, allocations: 249.5 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.8359, allocations: 22.22 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.836, allocations: 83.83 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.8362, allocations: 95.7 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.8363, allocations: 20 kB / 1.211 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.8364, allocations: 79.91 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.8365, allocations: 75.81 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.8367, allocations: 107.4 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.837, allocations: 295 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.837, allocations: 0 / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.837, allocations: 0 / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.193e-06/0.8371, allocations: 0 / 1.211 GB, free: 9.449 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.0007817/0.8378, allocations: 0.5345 MB / 1.212 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.8379, allocations: 16.02 kB / 1.212 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.754e-05/0.838, allocations: 50.73 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.838, allocations: 28.66 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.8383, allocations: 260.8 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.8384, allocations: 20.31 kB / 1.212 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.8384, allocations: 12.38 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.8387, allocations: 226.2 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8387, allocations: 0 / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.8388, allocations: 11.98 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.8388, allocations: 4 kB / 1.212 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.8396, allocations: 0.7295 MB / 1.213 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008263/0.8404, allocations: 0.5783 MB / 1.214 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.8407, allocations: 224.7 kB / 1.214 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.8409, allocations: 108.8 kB / 1.214 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.03e-05/0.8409, allocations: 15.97 kB / 1.214 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.8413, allocations: 177.4 kB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.8413, allocations: 0 / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.0006211/0.8419, allocations: 362.8 kB / 1.215 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.81e-05/0.842, allocations: 132.5 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.8423, allocations: 316.9 kB / 1.215 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.8423, allocations: 37.7 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/0.8424, allocations: 124.7 kB / 1.215 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.8425, allocations: 106.5 kB / 1.215 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-05/0.8426, allocations: 61.69 kB / 1.215 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8427, allocations: 338.8 kB / 1.216 GB, free: 4.766 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.8428, allocations: 79.95 kB / 1.216 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.843, allocations: 127.3 kB / 1.216 GB, free: 4.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.8433, allocations: 210.3 kB / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8433, allocations: 0 / 1.216 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003859/0.8437, allocations: 269.3 kB / 1.216 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8437, allocations: 4 kB / 1.216 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8437, allocations: 0 / 1.216 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.8437, allocations: 0 / 1.216 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.8439, allocations: 63.91 kB / 1.216 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.8439, allocations: 3.938 kB / 1.216 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.8441, allocations: 35.67 kB / 1.216 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.8441, allocations: 11.98 kB / 1.216 GB, free: 3.957 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.0001436/0.8443, allocations: 161.8 kB / 1.216 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.8443, allocations: 23.72 kB / 1.217 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.8449, allocations: 384.7 kB / 1.217 GB, free: 3.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8449, allocations: 3.938 kB / 1.217 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8449, allocations: 7.938 kB / 1.217 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.8449, allocations: 48 / 1.217 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.8452, allocations: 329.3 kB / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8452, allocations: 0 / 1.217 GB, free: 3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.8454, allocations: 59.91 kB / 1.217 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8454, allocations: 8 kB / 1.217 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.8454, allocations: 8 kB / 1.217 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8454, allocations: 0 / 1.217 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.8455, allocations: 7.922 kB / 1.217 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.8459, allocations: 314.2 kB / 1.218 GB, free: 2.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/0.846, allocations: 144.7 kB / 1.218 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.8461, allocations: 4 kB / 1.218 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.8462, allocations: 19.98 kB / 1.218 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.8463, allocations: 31.89 kB / 1.218 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.8463, allocations: 8 kB / 1.218 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001822/0.8465, allocations: 236.4 kB / 1.218 GB, free: 2.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8465, allocations: 3.938 kB / 1.218 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000274/0.8468, allocations: 60 kB / 1.218 GB, free: 2.07 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.001419/0.8482, allocations: 1.154 MB / 1.219 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.8486, allocations: 228.3 kB / 1.219 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.8486, allocations: 0 / 1.219 GB, free: 0.8164 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.8488, allocations: 119.9 kB / 1.22 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.849, allocations: 40.97 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.002524/0.8516, allocations: 2.45 MB / 1.222 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.8519, allocations: 0.7535 MB / 1.223 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.8522, allocations: 142.9 kB / 1.223 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.8523, allocations: 95.39 kB / 1.223 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of SimCode: time 3.51e-07/0.8523, allocations: 3.938 kB / 1.223 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.8756, allocations: 5.6 MB / 1.228 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.49/8.366, allocations: 15.69 kB / 1.228 GB, free: 7.641 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