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.001549/0.001549, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001629/0.001629, allocations: 220.4 kB / 23 MB, free: 4.914 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.584/1.584, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.335/3.335, allocations: 0.4892 GB / 0.7951 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] 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.003117/0.003117, allocations: 63.69 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4805, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorPressure): time 0.2402/0.7208, allocations: 163.1 MB / 1.486 GB, free: 14.22 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.009497/0.7303, allocations: 5.153 MB / 1.491 GB, free: 9.055 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.7313, allocations: 23.81 kB / 1.491 GB, free: 9.031 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.733, allocations: 0.5519 MB / 1.491 GB, free: 8.477 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/0.7385, allocations: 1.891 MB / 1.493 GB, free: 6.578 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.7409, allocations: 0.6871 MB / 1.494 GB, free: 5.895 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.7442, allocations: 2.143 MB / 1.496 GB, free: 3.738 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.7452, allocations: 0.576 MB / 1.496 GB, free: 3.152 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.7479, allocations: 1.137 MB / 1.497 GB, free: 2.012 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.7493, allocations: 0.841 MB / 1.498 GB, free: 1.168 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.7494, allocations: 88 kB / 1.498 GB, free: 1.082 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.7535, allocations: 1.629 MB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.000613/0.7541, allocations: 458.7 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0008463/0.7549, allocations: 497.8 kB / 1.501 GB, free: 14.51 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004795/0.7597, allocations: 2.091 MB / 1.503 GB, free: 12.41 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7597, allocations: 0 / 1.503 GB, free: 12.41 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.126e-06/0.7597, allocations: 0 / 1.503 GB, free: 12.41 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.767e-05/0.7598, allocations: 0 / 1.503 GB, free: 12.41 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.004315/0.7641, allocations: 1.598 MB / 1.504 GB, free: 10.78 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.7641, allocations: 16.03 kB / 1.504 GB, free: 10.76 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006308/0.7647, allocations: 167.1 kB / 1.505 GB, free: 10.6 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.7659, allocations: 0.5437 MB / 1.505 GB, free: 10.03 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.101e-05/0.766, allocations: 62 kB / 1.505 GB, free: 9.965 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/0.7662, allocations: 95.98 kB / 1.505 GB, free: 9.871 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.7683, allocations: 1.332 MB / 1.507 GB, free: 8.516 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.081e-05/0.7683, allocations: 3.938 kB / 1.507 GB, free: 8.512 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.7684, allocations: 32 kB / 1.507 GB, free: 8.48 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.753e-05/0.7685, allocations: 69.97 kB / 1.507 GB, free: 8.41 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00258/0.7711, allocations: 1.641 MB / 1.508 GB, free: 6.762 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005194/0.7763, allocations: 2.532 MB / 1.511 GB, free: 4.195 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.7786, allocations: 1.438 MB / 1.512 GB, free: 2.742 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/0.7796, allocations: 0.7087 MB / 1.513 GB, free: 2.031 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008313/0.7804, allocations: 200.8 kB / 1.513 GB, free: 1.836 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.7816, allocations: 0.7995 MB / 1.514 GB, free: 1 MB / 1.201 GB Notification: Performance of pre-optimization done (n=127): time 4.409e-06/0.7816, allocations: 0 / 1.514 GB, free: 1 MB / 1.201 GB Notification: Performance of matching and sorting (n=127): time 0.003437/0.785, allocations: 2 MB / 1.516 GB, free: 14.98 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.573e-05/0.7851, allocations: 94.11 kB / 1.516 GB, free: 14.87 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008555/0.786, allocations: 0.6239 MB / 1.516 GB, free: 14.23 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.389e-05/0.7861, allocations: 49.7 kB / 1.517 GB, free: 14.18 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.7865, allocations: 417.1 kB / 1.517 GB, free: 13.77 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004433/0.7869, allocations: 452.2 kB / 1.517 GB, free: 13.32 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.7873, allocations: 234.9 kB / 1.518 GB, free: 13.09 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002449/0.7876, allocations: 394.7 kB / 1.518 GB, free: 12.69 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009273/0.7885, allocations: 0.6015 MB / 1.519 GB, free: 12.08 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.7896, allocations: 0.8019 MB / 1.519 GB, free: 11.25 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/0.7917, allocations: 1.371 MB / 1.521 GB, free: 9.848 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.7917, allocations: 3.938 kB / 1.521 GB, free: 9.844 MB / 1.217 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002765/0.7944, allocations: 1.663 MB / 1.522 GB, free: 8.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.7945, allocations: 37.7 kB / 1.522 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7945, allocations: 0 / 1.522 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.302e-05/0.7945, allocations: 8 kB / 1.522 GB, free: 8.109 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.7956, allocations: 251.6 kB / 1.523 GB, free: 7.863 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.746e-05/0.7957, allocations: 4.125 kB / 1.523 GB, free: 7.859 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.7965, allocations: 115.2 kB / 1.523 GB, free: 7.746 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.7966, allocations: 44 kB / 1.523 GB, free: 7.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.0006778/0.7973, allocations: 383.8 kB / 1.523 GB, free: 7.312 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.7975, allocations: 91.44 kB / 1.523 GB, free: 7.223 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.8004, allocations: 1.672 MB / 1.525 GB, free: 5.527 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.8004, allocations: 12 kB / 1.525 GB, free: 5.516 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.8004, allocations: 48 / 1.525 GB, free: 5.516 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.8004, allocations: 15.97 kB / 1.525 GB, free: 5.5 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/0.8064, allocations: 3.357 MB / 1.528 GB, free: 2.008 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/0.8064, allocations: 11.94 kB / 1.528 GB, free: 1.996 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008774/0.8072, allocations: 212.6 kB / 1.528 GB, free: 1.789 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/0.8073, allocations: 12 kB / 1.528 GB, free: 1.777 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.51e-05/0.8074, allocations: 40 kB / 1.528 GB, free: 1.738 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-05/0.8074, allocations: 23.86 kB / 1.528 GB, free: 1.715 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/0.8074, allocations: 11.94 kB / 1.528 GB, free: 1.703 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/0.8115, allocations: 2.698 MB / 1.531 GB, free: 14.88 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/0.8123, allocations: 239 kB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.8124, allocations: 36.05 kB / 1.531 GB, free: 14.61 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006236/0.813, allocations: 39.94 kB / 1.531 GB, free: 14.57 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.8132, allocations: 96.72 kB / 1.531 GB, free: 14.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.392e-05/0.8133, allocations: 47.98 kB / 1.531 GB, free: 14.43 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006211/0.8139, allocations: 426.8 kB / 1.532 GB, free: 14.01 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.8139, allocations: 0 / 1.532 GB, free: 14.01 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001238/0.8152, allocations: 407.4 kB / 1.532 GB, free: 13.61 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.0005863/0.8158, allocations: 286.6 kB / 1.533 GB, free: 13.32 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002522/0.8183, allocations: 1.458 MB / 1.534 GB, free: 11.84 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.8183, allocations: 0 / 1.534 GB, free: 11.84 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.8194, allocations: 0.7457 MB / 1.535 GB, free: 11.07 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.8209, allocations: 274.3 kB / 1.535 GB, free: 10.81 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.825, allocations: 2.459 MB / 1.537 GB, free: 8.219 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006268/0.8257, allocations: 0.503 MB / 1.538 GB, free: 7.684 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.8261, allocations: 99.42 kB / 1.538 GB, free: 7.586 MB / 1.232 GB Notification: Performance of SimCode: time 1.182e-06/0.8261, allocations: 0 / 1.538 GB, free: 7.586 MB / 1.232 GB Notification: Performance of Templates: time 0.037/0.8631, allocations: 16.06 MB / 1.554 GB, free: 7.562 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 -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: 14.64956248505041]