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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002404/0.002404, allocations: 207.6 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.296/3.296, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 67.55 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003066/0.3471, allocations: 1.684 MB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.3491, allocations: 1.361 MB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.3492, allocations: 0 / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.3494, allocations: 31.77 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.3497, allocations: 107.5 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.3501, allocations: 152.6 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.3504, allocations: 253.5 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.3505, allocations: 25.58 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.3506, allocations: 95.69 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.3508, allocations: 87.7 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.3508, allocations: 23.98 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.351, allocations: 115.9 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3511, allocations: 83.81 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.3512, allocations: 87.45 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.3517, allocations: 342.7 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3517, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3517, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3517, allocations: 0 / 1.368 GB, free: 9.633 MB / 1.061 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.0007912/0.3525, allocations: 0.4898 MB / 1.368 GB, free: 9.113 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3525, allocations: 12.03 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.3526, allocations: 50.73 kB / 1.368 GB, free: 9.043 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.991e-05/0.3527, allocations: 36.75 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.353, allocations: 213.1 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/0.353, allocations: 12.38 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.353, allocations: 16.38 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004289/0.3535, allocations: 327.2 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3535, allocations: 0 / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.3535, allocations: 8 kB / 1.369 GB, free: 8.379 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3535, allocations: 8 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.3544, allocations: 0.6865 MB / 1.37 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009209/0.3553, allocations: 0.5267 MB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.3556, allocations: 204.5 kB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3558, allocations: 92.81 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.3558, allocations: 19.92 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003645/0.3562, allocations: 207.1 kB / 1.371 GB, free: 6.574 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.3562, allocations: 0 / 1.371 GB, free: 6.574 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0006975/0.3569, allocations: 370.7 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.357, allocations: 132.5 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.3573, allocations: 316.9 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.3573, allocations: 37.7 kB / 1.371 GB, free: 5.684 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.638e-05/0.3574, allocations: 128.7 kB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.3575, allocations: 107.1 kB / 1.372 GB, free: 5.449 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.3576, allocations: 61.69 kB / 1.372 GB, free: 5.383 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3578, allocations: 338.8 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3579, allocations: 79.89 kB / 1.372 GB, free: 4.965 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3582, allocations: 205.6 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003356/0.3585, allocations: 209.2 kB / 1.372 GB, free: 4.527 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3585, allocations: 4 kB / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004479/0.359, allocations: 273.4 kB / 1.373 GB, free: 4.25 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.359, allocations: 11.98 kB / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.359, allocations: 0 / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.359, allocations: 0 / 1.373 GB, free: 4.238 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.3592, allocations: 59.91 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3592, allocations: 3.938 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.3594, allocations: 27.81 kB / 1.373 GB, free: 4.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3594, allocations: 12 kB / 1.373 GB, free: 4.137 MB / 1.061 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.0001636/0.3595, allocations: 166.8 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.3596, allocations: 27.81 kB / 1.373 GB, free: 3.938 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006678/0.3603, allocations: 384.9 kB / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3603, allocations: 4 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3603, allocations: 3.938 kB / 1.373 GB, free: 3.547 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.3603, allocations: 7.984 kB / 1.373 GB, free: 3.539 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.3606, allocations: 268.5 kB / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3606, allocations: 0 / 1.374 GB, free: 3.234 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.3608, allocations: 55.92 kB / 1.374 GB, free: 3.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.3608, allocations: 3.984 kB / 1.374 GB, free: 3.176 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3608, allocations: 8 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3608, allocations: 4 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3608, allocations: 3.938 kB / 1.374 GB, free: 3.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.3613, allocations: 321.7 kB / 1.374 GB, free: 2.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.3614, allocations: 71.69 kB / 1.374 GB, free: 2.758 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.3614, allocations: 8 kB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.3616, allocations: 11.98 kB / 1.374 GB, free: 2.738 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/0.3617, allocations: 31.89 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3617, allocations: 15.98 kB / 1.374 GB, free: 2.691 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002317/0.3619, allocations: 240.4 kB / 1.374 GB, free: 2.453 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3619, allocations: 0 / 1.374 GB, free: 2.453 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000304/0.3622, allocations: 75.88 kB / 1.374 GB, free: 2.379 MB / 1.061 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.002299/0.3645, allocations: 1.243 MB / 1.376 GB, free: 1.297 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003995/0.3649, allocations: 211.8 kB / 1.376 GB, free: 1.09 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3649, allocations: 3.938 kB / 1.376 GB, free: 1.086 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3651, allocations: 123.8 kB / 1.376 GB, free: 0.9648 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3654, allocations: 40.14 kB / 1.376 GB, free: 0.9297 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.3684, allocations: 2.48 MB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.3685, allocations: 150.9 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.3688, allocations: 146.9 kB / 1.379 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.369, allocations: 91.39 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of SimCode: time 8.41e-07/0.369, allocations: 4 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03679/0.4058, allocations: 6.633 MB / 1.385 GB, free: 7.395 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.8, allocations: 9.922 kB / 1.385 GB, free: 7.387 MB / 1.076 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv","/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) [Timeout 300] "Error: Could not read variable chePre.PIn in file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv. Warning: Get data of variable chePre.PIn from file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.011123260948807]