Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00192/0.00192, allocations: 107.6 kB / 16.45 MB, free: 6.398 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.002384/0.002384, allocations: 214.4 kB / 19.43 MB, free: 3.727 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 / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.108/3.108, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,fileNamePrefix="Buildings_12_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.002043/0.002043, allocations: 75.39 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3718, allocations: 176.1 MB / 1.321 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.003584/0.3754, allocations: 1.699 MB / 1.322 GB, free: 1.605 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3777, allocations: 1.304 MB / 1.324 GB, free: 300 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.3778, allocations: 3.938 kB / 1.324 GB, free: 296 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.378, allocations: 27.78 kB / 1.324 GB, free: 268 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004286/0.3784, allocations: 127.4 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.3789, allocations: 142.9 kB / 1.324 GB, free: 0 / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.3793, allocations: 261.5 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3794, allocations: 17.33 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001788/0.3796, allocations: 87.77 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002881/0.3799, allocations: 103.7 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.339e-05/0.38, allocations: 16 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000286/0.3802, allocations: 139.9 kB / 1.325 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.3804, allocations: 75.81 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001472/0.3805, allocations: 111.3 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.381, allocations: 342.6 kB / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.381, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.381, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.381, allocations: 0 / 1.325 GB, free: 14.86 MB / 1.029 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.00094/0.382, allocations: 0.5671 MB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.382, allocations: 11.98 kB / 1.326 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.35e-05/0.3821, allocations: 66.67 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.3822, allocations: 28.75 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/0.3825, allocations: 274.9 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3826, allocations: 12.38 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3826, allocations: 12.38 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004003/0.383, allocations: 220.7 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.383, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.383, allocations: 4 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.383, allocations: 8 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009665/0.384, allocations: 0.7411 MB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009999/0.385, allocations: 0.5782 MB / 1.328 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.3854, allocations: 211.4 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.3855, allocations: 88.81 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.841e-05/0.3856, allocations: 27.97 kB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.3859, allocations: 169.5 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/0.3859, allocations: 4 kB / 1.328 GB, free: 11.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=33): time 0.0007403/0.3867, allocations: 355.5 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.3868, allocations: 140.4 kB / 1.329 GB, free: 11.15 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.3872, allocations: 324.9 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3872, allocations: 33.7 kB / 1.329 GB, free: 10.79 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.3873, allocations: 128.7 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.3874, allocations: 119 kB / 1.329 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.3875, allocations: 65.62 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3877, allocations: 334.8 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3878, allocations: 79.95 kB / 1.33 GB, free: 10.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.388, allocations: 123.6 kB / 1.33 GB, free: 9.918 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.3884, allocations: 213.3 kB / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3884, allocations: 0 / 1.33 GB, free: 9.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005009/0.3889, allocations: 273.3 kB / 1.33 GB, free: 9.434 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3889, allocations: 4 kB / 1.33 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3889, allocations: 4 kB / 1.33 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.3889, allocations: 0 / 1.33 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.3892, allocations: 59.91 kB / 1.33 GB, free: 9.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3892, allocations: 7.938 kB / 1.33 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.3893, allocations: 31.77 kB / 1.33 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.3894, allocations: 11.94 kB / 1.33 GB, free: 9.316 MB / 1.029 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.0001884/0.3896, allocations: 169.7 kB / 1.33 GB, free: 9.141 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.3896, allocations: 23.86 kB / 1.33 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007387/0.3904, allocations: 376.8 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3904, allocations: 4 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.3904, allocations: 7.938 kB / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3904, allocations: 0 / 1.331 GB, free: 8.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.3908, allocations: 333.3 kB / 1.331 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.3908, allocations: 4.047 kB / 1.331 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.3909, allocations: 55.89 kB / 1.331 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3909, allocations: 4 kB / 1.331 GB, free: 8.293 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.391, allocations: 11.98 kB / 1.331 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.391, allocations: 4 kB / 1.331 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.391, allocations: 3.938 kB / 1.331 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.3915, allocations: 322.3 kB / 1.332 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.3917, allocations: 144.8 kB / 1.332 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.3917, allocations: 12 kB / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3919, allocations: 11.98 kB / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.3919, allocations: 23.91 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.392, allocations: 20 kB / 1.332 GB, free: 7.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002561/0.3922, allocations: 244.4 kB / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3922, allocations: 0 / 1.332 GB, free: 7.477 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003494/0.3926, allocations: 75.86 kB / 1.332 GB, free: 7.402 MB / 1.029 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.002437/0.395, allocations: 1.211 MB / 1.333 GB, free: 6.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004408/0.3954, allocations: 220.3 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3954, allocations: 0 / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.3956, allocations: 115.8 kB / 1.334 GB, free: 6 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.3959, allocations: 41.77 kB / 1.334 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.3993, allocations: 2.487 MB / 1.336 GB, free: 3.379 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.3997, allocations: 0.7574 MB / 1.337 GB, free: 2.594 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003431/0.4001, allocations: 146.9 kB / 1.337 GB, free: 2.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001569/0.4002, allocations: 91.39 kB / 1.337 GB, free: 2.363 MB / 1.029 GB Notification: Performance of SimCode: time 7.91e-07/0.4002, allocations: 0 / 1.337 GB, free: 2.363 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.4402, allocations: 6.056 MB / 1.343 GB, free: 12.42 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.814, allocations: 14.14 kB / 1.343 GB, free: 12.41 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.fmu > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.542232094798237]