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.001829/0.001829, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002218/0.002218, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.102/3.102, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure") [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.002025/0.002025, allocations: 70.41 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.279, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.1967/0.4757, allocations: 163.1 MB / 1.486 GB, free: 13.34 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007905/0.4836, allocations: 5.143 MB / 1.491 GB, free: 8.18 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.484, allocations: 15.88 kB / 1.491 GB, free: 8.164 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.4853, allocations: 0.5596 MB / 1.492 GB, free: 7.602 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004078/0.4894, allocations: 1.888 MB / 1.494 GB, free: 5.707 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.4911, allocations: 0.6968 MB / 1.494 GB, free: 5.016 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002527/0.4937, allocations: 2.151 MB / 1.497 GB, free: 2.852 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008526/0.4945, allocations: 0.5838 MB / 1.497 GB, free: 2.258 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.4964, allocations: 1.133 MB / 1.498 GB, free: 1.121 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4975, allocations: 0.8722 MB / 1.499 GB, free: 252 kB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.4976, allocations: 88 kB / 1.499 GB, free: 164 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/0.5005, allocations: 1.656 MB / 1.501 GB, free: 14.5 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.501, allocations: 462.7 kB / 1.501 GB, free: 14.05 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005592/0.5015, allocations: 0.4901 MB / 1.502 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.5043, allocations: 2.087 MB / 1.504 GB, free: 11.46 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.5043, allocations: 0 / 1.504 GB, free: 11.46 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5043, allocations: 4 kB / 1.504 GB, free: 11.46 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.5043, allocations: 0 / 1.504 GB, free: 11.46 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.004294/0.5086, allocations: 1.596 MB / 1.505 GB, free: 9.82 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.5087, allocations: 8.031 kB / 1.505 GB, free: 9.812 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000627/0.5093, allocations: 159.2 kB / 1.505 GB, free: 9.656 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.5104, allocations: 0.5553 MB / 1.506 GB, free: 9.07 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.5105, allocations: 66 kB / 1.506 GB, free: 9.004 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.5106, allocations: 87.98 kB / 1.506 GB, free: 8.918 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.5127, allocations: 1.324 MB / 1.507 GB, free: 7.57 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.5127, allocations: 3.938 kB / 1.507 GB, free: 7.566 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.5129, allocations: 39.98 kB / 1.507 GB, free: 7.527 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/0.5129, allocations: 73.97 kB / 1.508 GB, free: 7.453 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002603/0.5155, allocations: 1.641 MB / 1.509 GB, free: 5.805 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004983/0.5205, allocations: 2.524 MB / 1.512 GB, free: 3.246 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.5227, allocations: 1.458 MB / 1.513 GB, free: 1.777 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.5238, allocations: 0.6954 MB / 1.514 GB, free: 1.078 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008786/0.5247, allocations: 196.8 kB / 1.514 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001186/0.5258, allocations: 0.8034 MB / 1.515 GB, free: 48 kB / 1.201 GB Notification: Performance of pre-optimization done (n=127): time 3.166e-06/0.5258, allocations: 0 / 1.515 GB, free: 48 kB / 1.201 GB Notification: Performance of matching and sorting (n=127): time 0.003328/0.5292, allocations: 2.007 MB / 1.517 GB, free: 14.02 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/0.5292, allocations: 94.09 kB / 1.517 GB, free: 13.91 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.53, allocations: 0.6122 MB / 1.517 GB, free: 13.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.084e-05/0.5301, allocations: 45.7 kB / 1.517 GB, free: 13.23 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/0.5304, allocations: 425.1 kB / 1.518 GB, free: 12.81 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003908/0.5308, allocations: 448.2 kB / 1.518 GB, free: 12.37 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.5312, allocations: 230.9 kB / 1.518 GB, free: 12.14 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002115/0.5314, allocations: 398.8 kB / 1.519 GB, free: 11.74 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009694/0.5324, allocations: 0.6054 MB / 1.519 GB, free: 11.13 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.5335, allocations: 0.8057 MB / 1.52 GB, free: 10.29 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002051/0.5355, allocations: 1.363 MB / 1.522 GB, free: 8.898 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.5355, allocations: 11.88 kB / 1.522 GB, free: 8.887 MB / 1.217 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002625/0.5382, allocations: 1.667 MB / 1.523 GB, free: 7.199 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.5382, allocations: 39.56 kB / 1.523 GB, free: 7.156 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5382, allocations: 0 / 1.523 GB, free: 7.156 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.5382, allocations: 8 kB / 1.523 GB, free: 7.148 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.5394, allocations: 247.7 kB / 1.523 GB, free: 6.906 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.604e-05/0.5394, allocations: 11.94 kB / 1.523 GB, free: 6.895 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006924/0.5401, allocations: 107.2 kB / 1.524 GB, free: 6.789 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.5402, allocations: 43.98 kB / 1.524 GB, free: 6.746 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.0005106/0.5407, allocations: 387 kB / 1.524 GB, free: 6.352 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.5409, allocations: 95.5 kB / 1.524 GB, free: 6.258 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.5437, allocations: 1.672 MB / 1.526 GB, free: 4.562 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.5437, allocations: 12 kB / 1.526 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5437, allocations: 0 / 1.526 GB, free: 4.551 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.5438, allocations: 7.969 kB / 1.526 GB, free: 4.543 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005725/0.5495, allocations: 3.349 MB / 1.529 GB, free: 1.059 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.5495, allocations: 8 kB / 1.529 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009286/0.5504, allocations: 215.7 kB / 1.529 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/0.5504, allocations: 12 kB / 1.529 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.884e-05/0.5505, allocations: 43.98 kB / 1.529 GB, free: 0.7852 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.86e-05/0.5505, allocations: 19.88 kB / 1.529 GB, free: 0.7656 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/0.5506, allocations: 11.94 kB / 1.529 GB, free: 0.7539 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.5543, allocations: 2.698 MB / 1.532 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/0.5549, allocations: 239 kB / 1.532 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.5551, allocations: 36 kB / 1.532 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.5557, allocations: 35.92 kB / 1.532 GB, free: 13.62 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.5559, allocations: 100.7 kB / 1.532 GB, free: 13.53 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.556, allocations: 51.98 kB / 1.532 GB, free: 13.48 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005138/0.5565, allocations: 426.9 kB / 1.533 GB, free: 13.06 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5565, allocations: 4 kB / 1.533 GB, free: 13.05 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001003/0.5575, allocations: 407.4 kB / 1.533 GB, free: 12.66 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.0005048/0.558, allocations: 282.6 kB / 1.533 GB, free: 12.37 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.5602, allocations: 1.455 MB / 1.535 GB, free: 10.89 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5602, allocations: 0 / 1.535 GB, free: 10.89 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.5613, allocations: 0.7419 MB / 1.536 GB, free: 10.13 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5627, allocations: 284.8 kB / 1.536 GB, free: 9.852 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.5663, allocations: 2.376 MB / 1.538 GB, free: 7.352 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.5669, allocations: 0.5069 MB / 1.539 GB, free: 6.812 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00115/0.568, allocations: 442.6 kB / 1.539 GB, free: 6.375 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.5683, allocations: 83.42 kB / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of SimCode: time 6.42e-07/0.5683, allocations: 0 / 1.539 GB, free: 6.293 MB / 1.232 GB Notification: Performance of Templates: time 0.02757/0.5959, allocations: 16.24 MB / 1.555 GB, free: 6.312 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1) [Timeout 400] 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: 9.280305307998788]