Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00192/0.00192, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001594/0.001594, allocations: 213.7 kB / 22.24 MB, free: 5.242 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.789 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.185/3.185, allocations: 0.4892 GB / 0.7943 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: 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_12_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_12_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.002153/0.002153, allocations: 65.86 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3228, allocations: 176.1 MB / 1.326 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2273/0.5501, allocations: 175.9 MB / 1.497 GB, free: 1.305 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01337/0.5635, allocations: 8.706 MB / 1.506 GB, free: 8.574 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008023/0.5643, allocations: 23.81 kB / 1.506 GB, free: 8.551 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.5659, allocations: 0.5709 MB / 1.506 GB, free: 7.977 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.004991/0.5708, allocations: 2.085 MB / 1.508 GB, free: 5.887 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.5728, allocations: 0.758 MB / 1.509 GB, free: 5.129 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002632/0.5755, allocations: 2.104 MB / 1.511 GB, free: 3.012 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009843/0.5765, allocations: 0.5807 MB / 1.512 GB, free: 2.418 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.5795, allocations: 1.569 MB / 1.513 GB, free: 0.8438 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.5806, allocations: 0.7197 MB / 1.514 GB, free: 124 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.5807, allocations: 72 kB / 1.514 GB, free: 52 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003201/0.5839, allocations: 1.562 MB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004471/0.5843, allocations: 366.8 kB / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005274/0.5849, allocations: 422.2 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.5875, allocations: 1.799 MB / 1.518 GB, free: 11.91 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.5875, allocations: 0 / 1.518 GB, free: 11.91 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5875, allocations: 0 / 1.518 GB, free: 11.91 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.5875, allocations: 0 / 1.518 GB, free: 11.91 MB / 1.217 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.003496/0.591, allocations: 1.392 MB / 1.519 GB, free: 10.48 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.5911, allocations: 8.031 kB / 1.519 GB, free: 10.47 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006644/0.5917, allocations: 151.3 kB / 1.52 GB, free: 10.32 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.5928, allocations: 0.5342 MB / 1.52 GB, free: 9.758 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.479e-05/0.5928, allocations: 57.98 kB / 1.52 GB, free: 9.699 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.593, allocations: 64 kB / 1.52 GB, free: 9.637 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5944, allocations: 0.8587 MB / 1.521 GB, free: 8.758 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.5944, allocations: 11.94 kB / 1.521 GB, free: 8.746 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.835e-05/0.5945, allocations: 27.98 kB / 1.521 GB, free: 8.719 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-05/0.5946, allocations: 45.98 kB / 1.521 GB, free: 8.672 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.596, allocations: 0.769 MB / 1.522 GB, free: 7.902 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/0.6004, allocations: 2.192 MB / 1.524 GB, free: 5.656 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.6012, allocations: 403.9 kB / 1.524 GB, free: 5.254 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.6016, allocations: 173.4 kB / 1.525 GB, free: 5.082 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/0.6019, allocations: 88.27 kB / 1.525 GB, free: 4.996 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.602, allocations: 38.83 kB / 1.525 GB, free: 4.949 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.602, allocations: 0 / 1.525 GB, free: 4.949 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.00138/0.6034, allocations: 0.5877 MB / 1.525 GB, free: 4.355 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.6034, allocations: 59.34 kB / 1.525 GB, free: 4.285 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.6042, allocations: 0.5731 MB / 1.526 GB, free: 3.703 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/0.6042, allocations: 29.7 kB / 1.526 GB, free: 3.668 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/0.6046, allocations: 432 kB / 1.526 GB, free: 3.242 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.6047, allocations: 142.8 kB / 1.527 GB, free: 3.102 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.6049, allocations: 102.1 kB / 1.527 GB, free: 2.996 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.6051, allocations: 358.8 kB / 1.527 GB, free: 2.637 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.6054, allocations: 188.9 kB / 1.527 GB, free: 2.453 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005294/0.606, allocations: 387.7 kB / 1.528 GB, free: 2.023 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008079/0.6068, allocations: 446.6 kB / 1.528 GB, free: 1.559 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.6068, allocations: 4 kB / 1.528 GB, free: 1.555 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001053/0.6078, allocations: 0.5665 MB / 1.528 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.6078, allocations: 4 kB / 1.528 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6079, allocations: 4 kB / 1.528 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.6079, allocations: 4 kB / 1.528 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.6084, allocations: 104.1 kB / 1.529 GB, free: 0.8672 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.6084, allocations: 11.88 kB / 1.529 GB, free: 0.8555 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/0.6089, allocations: 43.66 kB / 1.529 GB, free: 0.8125 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.6089, allocations: 27.92 kB / 1.529 GB, free: 0.7852 MB / 1.217 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.0003264/0.6092, allocations: 241.7 kB / 1.529 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.6094, allocations: 59.62 kB / 1.529 GB, free: 492 kB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.6104, allocations: 0.5375 MB / 1.529 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.6104, allocations: 4 kB / 1.529 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6104, allocations: 3.938 kB / 1.529 GB, free: 15.92 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6104, allocations: 7.984 kB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.6138, allocations: 1.783 MB / 1.531 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.6138, allocations: 8 kB / 1.531 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.6142, allocations: 91.83 kB / 1.531 GB, free: 13.92 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/0.6142, allocations: 11.94 kB / 1.531 GB, free: 13.91 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.6143, allocations: 20 kB / 1.531 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.416e-05/0.6143, allocations: 11.94 kB / 1.531 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.6143, allocations: 8 kB / 1.531 GB, free: 13.87 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.6158, allocations: 0.9606 MB / 1.532 GB, free: 12.81 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.6161, allocations: 119.4 kB / 1.532 GB, free: 12.69 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.68e-05/0.6162, allocations: 16.05 kB / 1.532 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.6166, allocations: 20 kB / 1.532 GB, free: 12.66 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.6167, allocations: 51.81 kB / 1.533 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.6168, allocations: 20 kB / 1.533 GB, free: 12.59 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005908/0.6173, allocations: 422.8 kB / 1.533 GB, free: 12.18 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6173, allocations: 4.062 kB / 1.533 GB, free: 12.17 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008489/0.6182, allocations: 263.4 kB / 1.533 GB, free: 11.91 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (48): * Single equations (assignments): 48 * 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.0003716/0.6186, allocations: 214.8 kB / 1.533 GB, free: 11.7 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0008647/0.6194, allocations: 442.3 kB / 1.534 GB, free: 11.27 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.6194, allocations: 4 kB / 1.534 GB, free: 11.26 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004162/0.6199, allocations: 232.9 kB / 1.534 GB, free: 11.04 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6212, allocations: 244.9 kB / 1.534 GB, free: 10.8 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.6237, allocations: 1.521 MB / 1.536 GB, free: 9.164 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.6242, allocations: 415.3 kB / 1.536 GB, free: 8.73 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005063/0.6247, allocations: 144.8 kB / 1.536 GB, free: 8.59 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.6249, allocations: 51.42 kB / 1.536 GB, free: 8.539 MB / 1.232 GB Notification: Performance of SimCode: time 4.91e-07/0.6249, allocations: 3.938 kB / 1.536 GB, free: 8.535 MB / 1.232 GB Notification: Performance of Templates: time 0.02272/0.6476, allocations: 12.31 MB / 1.548 GB, free: 12.48 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Validation.DoorOpenClosed_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Validation_DoorOpenClosed.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.466515086591244]