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.001566/0.001566, allocations: 116.1 kB / 17.17 MB, free: 6 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.001799/0.001799, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.48/1.48, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.953/2.953, allocations: 0.5003 GB / 0.8026 GB, free: 6.895 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="cs",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.002075/0.002075, allocations: 59.91 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003145/1.06, allocations: 1.708 MB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001888/1.062, allocations: 1.32 MB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.994e-05/1.062, allocations: 1.812 kB / 1.343 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002534/1.062, allocations: 24.59 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003911/1.063, allocations: 114.7 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/1.063, allocations: 151.2 kB / 1.343 GB, free: 14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/1.063, allocations: 251.1 kB / 1.344 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/1.063, allocations: 27.17 kB / 1.344 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/1.064, allocations: 91.38 kB / 1.344 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/1.064, allocations: 96.69 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/1.064, allocations: 22.88 kB / 1.344 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/1.064, allocations: 129.9 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/1.064, allocations: 80.61 kB / 1.344 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/1.064, allocations: 110.1 kB / 1.344 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004536/1.065, allocations: 338.8 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/1.065, allocations: 0 / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.094e-06/1.065, allocations: 0.75 kB / 1.344 GB, free: 13.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.291e-05/1.065, allocations: 4 kB / 1.344 GB, free: 13.5 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.0007625/1.066, allocations: 0.5703 MB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/1.066, allocations: 12.41 kB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.482e-05/1.066, allocations: 2.938 kB / 1.345 GB, free: 12.99 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.231e-05/1.066, allocations: 48.34 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/1.066, allocations: 35.92 kB / 1.345 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002549/1.066, allocations: 276.1 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.066, allocations: 11.25 kB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/1.066, allocations: 30.48 kB / 1.345 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/1.066, allocations: 211.5 kB / 1.346 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.066, allocations: 0 / 1.346 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/1.066, allocations: 11.55 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.066, allocations: 4.125 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009955/1.067, allocations: 0.7356 MB / 1.346 GB, free: 12.44 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008759/1.068, allocations: 0.5788 MB / 1.347 GB, free: 12.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/1.069, allocations: 204.3 kB / 1.347 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/1.069, allocations: 95.41 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/1.069, allocations: 17.11 kB / 1.347 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/1.069, allocations: 178.2 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/1.069, allocations: 0 / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0006988/1.07, allocations: 372.5 kB / 1.348 GB, free: 11.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/1.07, allocations: 137.7 kB / 1.348 GB, free: 11.53 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/1.07, allocations: 317.6 kB / 1.348 GB, free: 11.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/1.07, allocations: 32.17 kB / 1.348 GB, free: 11.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.22e-05/1.07, allocations: 127.2 kB / 1.348 GB, free: 11.22 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/1.07, allocations: 114.8 kB / 1.348 GB, free: 11.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/1.071, allocations: 65.69 kB / 1.349 GB, free: 11.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.392e-05/1.071, allocations: 346.1 kB / 1.349 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/1.071, allocations: 75.11 kB / 1.349 GB, free: 10.74 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/1.071, allocations: 124.7 kB / 1.349 GB, free: 10.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/1.071, allocations: 208.2 kB / 1.349 GB, free: 10.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.071, allocations: 0 / 1.349 GB, free: 10.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004217/1.072, allocations: 270.5 kB / 1.349 GB, free: 10.49 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.072, allocations: 5.438 kB / 1.349 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.072, allocations: 4.844 kB / 1.35 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.072, allocations: 1.5 kB / 1.35 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/1.072, allocations: 57.64 kB / 1.35 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/1.072, allocations: 5.688 kB / 1.35 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/1.072, allocations: 35.05 kB / 1.35 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/1.072, allocations: 14.36 kB / 1.35 GB, free: 10.45 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.0001345/1.072, allocations: 167.3 kB / 1.35 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/1.072, allocations: 28.41 kB / 1.35 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006802/1.073, allocations: 377.1 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.073, allocations: 3.531 kB / 1.35 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.073, allocations: 9.219 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/1.073, allocations: 5.953 kB / 1.35 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/1.073, allocations: 328.8 kB / 1.35 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.073, allocations: 1.906 kB / 1.35 GB, free: 9.871 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001788/1.074, allocations: 58.17 kB / 1.351 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.074, allocations: 2.156 kB / 1.351 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/1.074, allocations: 10.3 kB / 1.351 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.074, allocations: 1.281 kB / 1.351 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.074, allocations: 4.594 kB / 1.351 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004714/1.074, allocations: 320.7 kB / 1.351 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/1.074, allocations: 147.2 kB / 1.351 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.181e-05/1.074, allocations: 6.906 kB / 1.351 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/1.074, allocations: 18.02 kB / 1.351 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.16e-05/1.074, allocations: 28.83 kB / 1.351 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/1.074, allocations: 11.59 kB / 1.351 GB, free: 9.555 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000217/1.075, allocations: 244.9 kB / 1.351 GB, free: 9.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.075, allocations: 3.938 kB / 1.351 GB, free: 9.422 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003587/1.075, allocations: 80.33 kB / 1.351 GB, free: 9.398 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.002075/1.077, allocations: 1.192 MB / 1.353 GB, free: 8.598 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004262/1.078, allocations: 216.5 kB / 1.353 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.078, allocations: 0 / 1.353 GB, free: 8.539 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/1.078, allocations: 116.2 kB / 1.353 GB, free: 8.508 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.078, allocations: 40.77 kB / 1.353 GB, free: 8.484 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002751/1.081, allocations: 2.505 MB / 1.355 GB, free: 6.891 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001933/1.081, allocations: 0.7599 MB / 1.356 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003401/1.081, allocations: 149.1 kB / 1.356 GB, free: 6.145 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/1.081, allocations: 92.44 kB / 1.356 GB, free: 6.09 MB / 1.061 GB Notification: Performance of SimCode: time 4.6e-07/1.081, allocations: 0 / 1.356 GB, free: 6.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02808/1.11, allocations: 6.097 MB / 1.362 GB, free: 5.09 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/9.777, allocations: 12.11 kB / 1.362 GB, free: 5.082 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.45513503998518]