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.001763/0.001763, allocations: 113 kB / 18.94 MB, free: 2.957 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.002153/0.002153, allocations: 214.5 kB / 22.25 MB, free: 5.117 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 8.02 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.138/3.138, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.002014/0.002014, allocations: 66.36 kB / 1.177 GB, free: 17.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3457, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003158/0.3489, allocations: 1.724 MB / 1.355 GB, free: 6.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002123/0.351, allocations: 1.399 MB / 1.356 GB, free: 5.312 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.02e-05/0.3511, allocations: 4 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002193/0.3513, allocations: 31.77 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.3516, allocations: 103.5 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.3521, allocations: 154.6 kB / 1.356 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003298/0.3524, allocations: 257.5 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3525, allocations: 25.56 kB / 1.356 GB, free: 4.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3526, allocations: 87.77 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.3528, allocations: 107.7 kB / 1.357 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.3529, allocations: 16 kB / 1.357 GB, free: 4.543 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.3531, allocations: 127.9 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.3532, allocations: 87.73 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3533, allocations: 111.3 kB / 1.357 GB, free: 4.223 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.3537, allocations: 334.7 kB / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3537, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3537, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3537, allocations: 0 / 1.357 GB, free: 3.895 MB / 1.045 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.0007768/0.3545, allocations: 0.4994 MB / 1.358 GB, free: 3.363 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.3546, allocations: 12.03 kB / 1.358 GB, free: 3.352 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/0.3546, allocations: 46.73 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.044e-05/0.3547, allocations: 32.8 kB / 1.358 GB, free: 3.266 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.355, allocations: 221 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.355, allocations: 8.375 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.355, allocations: 16.38 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.3554, allocations: 228.4 kB / 1.358 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3554, allocations: 3.938 kB / 1.358 GB, free: 2.758 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.3554, allocations: 8 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3554, allocations: 4 kB / 1.358 GB, free: 2.746 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008759/0.3563, allocations: 0.7334 MB / 1.359 GB, free: 2.012 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009363/0.3573, allocations: 0.5579 MB / 1.36 GB, free: 1.41 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.3576, allocations: 203.5 kB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.3578, allocations: 96.81 kB / 1.36 GB, free: 1.105 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.364e-05/0.3578, allocations: 19.91 kB / 1.36 GB, free: 1.086 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.3582, allocations: 169.5 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 3.848e-06/0.3582, allocations: 3.984 kB / 1.36 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.0006929/0.3589, allocations: 378.5 kB / 1.36 GB, free: 0.5312 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.923e-05/0.3589, allocations: 132.5 kB / 1.361 GB, free: 380 kB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003307/0.3593, allocations: 324.9 kB / 1.361 GB, free: 40 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.3593, allocations: 29.7 kB / 1.361 GB, free: 4 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3594, allocations: 128.8 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.833e-05/0.3595, allocations: 115 kB / 1.361 GB, free: 15.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-05/0.3596, allocations: 61.69 kB / 1.361 GB, free: 15.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3598, allocations: 338.8 kB / 1.362 GB, free: 15.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.3599, allocations: 79.95 kB / 1.362 GB, free: 15.28 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.3601, allocations: 123.4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003516/0.3605, allocations: 214.3 kB / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3605, allocations: 0 / 1.362 GB, free: 14.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004581/0.3609, allocations: 265.4 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.3609, allocations: 10.03 kB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.361, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.361, allocations: 0 / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.3612, allocations: 67.91 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3612, allocations: 7.922 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.3614, allocations: 31.78 kB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3614, allocations: 11.98 kB / 1.362 GB, free: 14.54 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.0001732/0.3616, allocations: 169.6 kB / 1.362 GB, free: 14.37 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.3616, allocations: 27.81 kB / 1.362 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006922/0.3623, allocations: 381 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/0.3623, allocations: 4 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3623, allocations: 3.938 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.3623, allocations: 3.984 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.3627, allocations: 312.3 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3627, allocations: 0 / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3628, allocations: 51.97 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3628, allocations: 4 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.3628, allocations: 8 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.3628, allocations: 4 kB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3628, allocations: 3.938 kB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004817/0.3633, allocations: 317.7 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.3635, allocations: 63.73 kB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3635, allocations: 8 kB / 1.364 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.3637, allocations: 23.98 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.614e-05/0.3637, allocations: 23.89 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.3637, allocations: 23.92 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002321/0.364, allocations: 244.4 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.364, allocations: 0 / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003134/0.3643, allocations: 71.83 kB / 1.364 GB, free: 12.75 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.002224/0.3665, allocations: 1.196 MB / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004015/0.3669, allocations: 215.7 kB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3669, allocations: 8 kB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.3671, allocations: 111.9 kB / 1.365 GB, free: 11.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.3674, allocations: 46.17 kB / 1.365 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.3704, allocations: 2.48 MB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3708, allocations: 0.7574 MB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003397/0.3711, allocations: 162.9 kB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.3712, allocations: 87.39 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/0.3712, allocations: 4 kB / 1.369 GB, free: 7.723 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.4072, allocations: 6.301 MB / 1.375 GB, free: 1.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.73, allocations: 0 / 1.375 GB, free: 1.477 MB / 1.061 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 & /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 --stepSize=3456 --timeout=800 --tolerance=1e-06 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.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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.48492190404795]