Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.001624/0.001624, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001841/0.001841, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.655/1.655, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 3.65/3.65, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 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: translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(Buildings.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|doo.port_a1.m_flow|doo.port_b2.m_flow|dooOpeClo.port_a1.m_flow|dooOpeClo.port_b2.m_flow|lea.port_a.m_flow|mNetClo_flow.y",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed") [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.002151/0.002151, allocations: 72.53 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4985/0.5006, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2717/0.7723, allocations: 175.9 MB / 1.536 GB, free: 13.01 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.7932, allocations: 8.843 MB / 1.545 GB, free: 4.141 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.7953, allocations: 23.81 kB / 1.545 GB, free: 4.117 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003135/0.7984, allocations: 0.5787 MB / 1.546 GB, free: 3.535 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009768/0.8082, allocations: 2.12 MB / 1.548 GB, free: 1.406 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003989/0.8122, allocations: 0.7865 MB / 1.548 GB, free: 0.625 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004864/0.8171, allocations: 2.155 MB / 1.551 GB, free: 14.46 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.8191, allocations: 0.5963 MB / 1.551 GB, free: 13.85 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005633/0.8247, allocations: 1.584 MB / 1.553 GB, free: 12.26 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002208/0.8269, allocations: 0.7391 MB / 1.553 GB, free: 11.52 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.8273, allocations: 72 kB / 1.553 GB, free: 11.45 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004701/0.832, allocations: 1.601 MB / 1.555 GB, free: 9.84 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008823/0.8328, allocations: 374.8 kB / 1.555 GB, free: 9.473 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.8342, allocations: 438.1 kB / 1.556 GB, free: 9.043 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.8397, allocations: 1.849 MB / 1.558 GB, free: 7.188 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.8398, allocations: 4 kB / 1.558 GB, free: 7.184 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.846e-06/0.8398, allocations: 0 / 1.558 GB, free: 7.184 MB / 1.248 GB Notification: Performance of Transformations before backend: time 6.151e-05/0.8398, allocations: 0 / 1.558 GB, free: 7.184 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.00516/0.845, allocations: 1.403 MB / 1.559 GB, free: 5.746 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.845, allocations: 8.031 kB / 1.559 GB, free: 5.738 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.8473, allocations: 347 kB / 1.559 GB, free: 5.398 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.8489, allocations: 0.5499 MB / 1.56 GB, free: 4.82 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.331e-05/0.849, allocations: 57.98 kB / 1.56 GB, free: 4.762 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.8492, allocations: 64 kB / 1.56 GB, free: 4.699 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.8515, allocations: 0.9913 MB / 1.561 GB, free: 3.688 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.8516, allocations: 0 / 1.561 GB, free: 3.688 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/0.8516, allocations: 27.98 kB / 1.561 GB, free: 3.66 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.733e-05/0.8517, allocations: 49.98 kB / 1.561 GB, free: 3.609 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002447/0.8542, allocations: 0.9719 MB / 1.562 GB, free: 2.641 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005416/0.8596, allocations: 2.236 MB / 1.564 GB, free: 360 kB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.8606, allocations: 431.8 kB / 1.565 GB, free: 15.92 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004607/0.8611, allocations: 193.4 kB / 1.565 GB, free: 15.73 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.8613, allocations: 36.3 kB / 1.565 GB, free: 15.7 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.8614, allocations: 42.89 kB / 1.565 GB, free: 15.64 MB / 1.264 GB Notification: Performance of pre-optimization done (n=40): time 2.945e-06/0.8614, allocations: 0 / 1.565 GB, free: 15.64 MB / 1.264 GB Notification: Performance of matching and sorting (n=40): time 0.001789/0.8632, allocations: 0.6433 MB / 1.565 GB, free: 15 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.8632, allocations: 59.34 kB / 1.566 GB, free: 14.93 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.8645, allocations: 0.6785 MB / 1.566 GB, free: 14.24 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.8645, allocations: 41.64 kB / 1.566 GB, free: 14.19 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.865, allocations: 420.1 kB / 1.567 GB, free: 13.78 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.8651, allocations: 146.7 kB / 1.567 GB, free: 13.63 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/0.8654, allocations: 106.1 kB / 1.567 GB, free: 13.52 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.000221/0.8656, allocations: 366.8 kB / 1.567 GB, free: 13.16 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.8663, allocations: 272.8 kB / 1.567 GB, free: 12.89 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009294/0.8673, allocations: 459.7 kB / 1.568 GB, free: 12.39 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.8685, allocations: 0.5415 MB / 1.568 GB, free: 11.82 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.8685, allocations: 4 kB / 1.568 GB, free: 11.82 MB / 1.264 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001979/0.8705, allocations: 0.7237 MB / 1.569 GB, free: 11.09 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.8705, allocations: 8 kB / 1.569 GB, free: 11.08 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.8705, allocations: 4.062 kB / 1.569 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.8706, allocations: 4 kB / 1.569 GB, free: 11.07 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/0.8714, allocations: 131.8 kB / 1.569 GB, free: 10.94 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/0.8714, allocations: 7.938 kB / 1.569 GB, free: 10.93 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.8726, allocations: 115.7 kB / 1.569 GB, free: 10.82 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.841e-05/0.8726, allocations: 27.92 kB / 1.569 GB, free: 10.79 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0004942/0.8731, allocations: 241.7 kB / 1.57 GB, free: 10.55 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.8733, allocations: 59.62 kB / 1.57 GB, free: 10.49 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.8747, allocations: 0.568 MB / 1.57 GB, free: 9.91 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.8747, allocations: 12.03 kB / 1.57 GB, free: 9.898 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.8747, allocations: 3.938 kB / 1.57 GB, free: 9.895 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.8747, allocations: 3.984 kB / 1.57 GB, free: 9.891 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004347/0.8791, allocations: 1.93 MB / 1.572 GB, free: 7.84 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-05/0.8791, allocations: 8.844 kB / 1.572 GB, free: 7.832 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005314/0.8796, allocations: 103.8 kB / 1.572 GB, free: 7.73 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.426e-05/0.8796, allocations: 12 kB / 1.572 GB, free: 7.719 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-05/0.8797, allocations: 16 kB / 1.572 GB, free: 7.703 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/0.8797, allocations: 15.92 kB / 1.572 GB, free: 7.688 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.8797, allocations: 11.94 kB / 1.572 GB, free: 7.676 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.8818, allocations: 1.057 MB / 1.573 GB, free: 6.52 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004759/0.8822, allocations: 143.3 kB / 1.574 GB, free: 6.379 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.8824, allocations: 16 kB / 1.574 GB, free: 6.363 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007499/0.8831, allocations: 39.95 kB / 1.574 GB, free: 6.324 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.8833, allocations: 51.81 kB / 1.574 GB, free: 6.273 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.8833, allocations: 32.05 kB / 1.574 GB, free: 6.242 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0009641/0.8843, allocations: 0.4948 MB / 1.574 GB, free: 5.75 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8843, allocations: 0 / 1.574 GB, free: 5.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001152/0.8854, allocations: 291.3 kB / 1.574 GB, free: 5.465 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 49 * 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 Backend phase and start with SimCode phase: time 0.00047/0.8859, allocations: 194.9 kB / 1.575 GB, free: 5.266 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00154/0.8875, allocations: 0.5531 MB / 1.575 GB, free: 4.711 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.363e-06/0.8875, allocations: 0 / 1.575 GB, free: 4.711 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.888, allocations: 244.9 kB / 1.575 GB, free: 4.473 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.8896, allocations: 256.2 kB / 1.576 GB, free: 4.227 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/0.8932, allocations: 1.645 MB / 1.577 GB, free: 2.457 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.8938, allocations: 423.5 kB / 1.578 GB, free: 2.016 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/0.8942, allocations: 63.34 kB / 1.578 GB, free: 1.957 MB / 1.264 GB Notification: Performance of SimCode: time 1.142e-06/0.8942, allocations: 0 / 1.578 GB, free: 1.957 MB / 1.264 GB Notification: Performance of Templates: time 0.02538/0.9195, allocations: 12.73 MB / 1.59 GB, free: 5.289 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.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.573630662169307]