Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.001525/0.001525, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001479/0.001479, allocations: 222 kB / 22.25 MB, free: 5.254 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.382/1.382, allocations: 230.6 MB / 256 MB, free: 7.785 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.013/3.013, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",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.002007/0.002007, allocations: 66.03 kB / 1.154 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3071, allocations: 176.1 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.1883/0.4954, allocations: 163.1 MB / 1.485 GB, free: 13.85 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007632/0.503, allocations: 5.141 MB / 1.49 GB, free: 8.699 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005113/0.5035, allocations: 23.75 kB / 1.49 GB, free: 8.676 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.5048, allocations: 0.5558 MB / 1.491 GB, free: 8.117 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.5088, allocations: 1.887 MB / 1.493 GB, free: 6.223 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.5106, allocations: 0.7009 MB / 1.493 GB, free: 5.527 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002383/0.513, allocations: 2.151 MB / 1.495 GB, free: 3.363 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008254/0.5138, allocations: 0.5838 MB / 1.496 GB, free: 2.77 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001927/0.5157, allocations: 1.133 MB / 1.497 GB, free: 1.633 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001164/0.5169, allocations: 0.8684 MB / 1.498 GB, free: 0.7617 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.517, allocations: 92 kB / 1.498 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.5199, allocations: 1.66 MB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004409/0.5204, allocations: 458.6 kB / 1.5 GB, free: 14.56 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005943/0.521, allocations: 497.8 kB / 1.5 GB, free: 14.07 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.5258, allocations: 2.091 MB / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5258, allocations: 0 / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5258, allocations: 0 / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.5258, allocations: 0 / 1.503 GB, free: 11.97 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004562/0.5304, allocations: 1.596 MB / 1.504 GB, free: 10.34 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5304, allocations: 8.031 kB / 1.504 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001878/0.5306, allocations: 160.2 kB / 1.504 GB, free: 10.16 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006037/0.5312, allocations: 159.2 kB / 1.504 GB, free: 10.01 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.5324, allocations: 0.5476 MB / 1.505 GB, free: 9.43 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.792e-05/0.5324, allocations: 70 kB / 1.505 GB, free: 9.359 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.5326, allocations: 91.98 kB / 1.505 GB, free: 9.27 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.5345, allocations: 1.328 MB / 1.506 GB, free: 7.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.5345, allocations: 0 / 1.506 GB, free: 7.918 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.5346, allocations: 39.94 kB / 1.506 GB, free: 7.879 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.75e-05/0.5347, allocations: 65.97 kB / 1.506 GB, free: 7.812 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002412/0.5371, allocations: 1.645 MB / 1.508 GB, free: 6.16 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005051/0.5421, allocations: 2.687 MB / 1.511 GB, free: 3.426 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5443, allocations: 1.45 MB / 1.512 GB, free: 1.965 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001004/0.5453, allocations: 0.6923 MB / 1.513 GB, free: 1.27 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008587/0.5461, allocations: 200.8 kB / 1.513 GB, free: 1.074 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.5473, allocations: 0.7995 MB / 1.514 GB, free: 244 kB / 1.201 GB Notification: Performance of pre-optimization done (n=127): time 3.206e-06/0.5473, allocations: 0 / 1.514 GB, free: 244 kB / 1.201 GB Notification: Performance of matching and sorting (n=127): time 0.003188/0.5505, allocations: 2.023 MB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.5505, allocations: 102.1 kB / 1.516 GB, free: 14.07 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/0.5515, allocations: 0.8011 MB / 1.517 GB, free: 13.27 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.5516, allocations: 45.7 kB / 1.517 GB, free: 13.22 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.5519, allocations: 409.2 kB / 1.517 GB, free: 12.81 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.5523, allocations: 448.1 kB / 1.517 GB, free: 12.37 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003599/0.5527, allocations: 234.9 kB / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.5529, allocations: 414.7 kB / 1.518 GB, free: 11.72 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000907/0.5538, allocations: 0.6015 MB / 1.519 GB, free: 11.11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.5548, allocations: 0.798 MB / 1.519 GB, free: 10.28 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.5568, allocations: 1.375 MB / 1.521 GB, free: 8.875 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5568, allocations: 0 / 1.521 GB, free: 8.875 MB / 1.217 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002535/0.5593, allocations: 1.671 MB / 1.522 GB, free: 7.184 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.5594, allocations: 37.69 kB / 1.522 GB, free: 7.141 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.5594, allocations: 4 kB / 1.522 GB, free: 7.137 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.5594, allocations: 4 kB / 1.522 GB, free: 7.133 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5605, allocations: 259.6 kB / 1.523 GB, free: 6.879 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.5605, allocations: 8.125 kB / 1.523 GB, free: 6.871 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007528/0.5613, allocations: 123 kB / 1.523 GB, free: 6.75 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.5614, allocations: 47.98 kB / 1.523 GB, free: 6.703 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (bouPre.nextEventScaled,bouPre.nextEvent,$PRE.bouPre.nextEvent,bouPre.last,bouPre.b,bouPre.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (158): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 1 * 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.0005187/0.5619, allocations: 379 kB / 1.523 GB, free: 6.316 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/0.5621, allocations: 111.3 kB / 1.523 GB, free: 6.207 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.5647, allocations: 1.685 MB / 1.525 GB, free: 4.496 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5647, allocations: 19.97 kB / 1.525 GB, free: 4.477 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.5647, allocations: 8 kB / 1.525 GB, free: 4.469 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5647, allocations: 3.984 kB / 1.525 GB, free: 4.465 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005614/0.5703, allocations: 3.454 MB / 1.528 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.5704, allocations: 8.906 kB / 1.528 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/0.5712, allocations: 211.7 kB / 1.529 GB, free: 0.6484 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.039e-05/0.5713, allocations: 19.94 kB / 1.529 GB, free: 0.6289 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-05/0.5713, allocations: 35.94 kB / 1.529 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.696e-05/0.5714, allocations: 15.98 kB / 1.529 GB, free: 0.5781 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.5714, allocations: 11.94 kB / 1.529 GB, free: 0.5664 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/0.575, allocations: 2.71 MB / 1.531 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006957/0.5757, allocations: 262.8 kB / 1.532 GB, free: 13.47 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.5758, allocations: 36.06 kB / 1.532 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.5765, allocations: 31.98 kB / 1.532 GB, free: 13.4 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.5766, allocations: 100.7 kB / 1.532 GB, free: 13.3 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/0.5767, allocations: 43.98 kB / 1.532 GB, free: 13.26 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006891/0.5774, allocations: 0.5537 MB / 1.532 GB, free: 12.71 MB / 1.232 GB Notification: Performance of sort global known variables: time 7e-08/0.5774, allocations: 0 / 1.532 GB, free: 12.71 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001006/0.5784, allocations: 395.5 kB / 1.533 GB, free: 12.32 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.004336/0.5827, allocations: 3.441 MB / 1.536 GB, free: 8.746 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.5851, allocations: 1.455 MB / 1.538 GB, free: 7.266 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/0.5851, allocations: 12 kB / 1.538 GB, free: 7.254 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.5861, allocations: 0.7419 MB / 1.538 GB, free: 6.5 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.588, allocations: 397 kB / 1.539 GB, free: 6.113 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.6019, allocations: 10.21 MB / 1.549 GB, free: 11.54 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000558/0.6025, allocations: 0.5036 MB / 1.549 GB, free: 10.99 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001271/0.6037, allocations: 468 kB / 1.55 GB, free: 10.53 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/0.6043, allocations: 367.3 kB / 1.55 GB, free: 10.17 MB / 1.248 GB Notification: Performance of SimCode: time 1.403e-06/0.6043, allocations: 0 / 1.55 GB, free: 10.17 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06495/0.6692, allocations: 29.22 MB / 1.578 GB, free: 13.44 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.13, allocations: 5.656 kB / 1.578 GB, free: 13.44 MB / 1.279 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat --tempDir=temp_Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --stepSize=600 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_OpenDoorPressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.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.419803122989833]