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.001691/0.001691, allocations: 104.2 kB / 19.75 MB, free: 1.922 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.002135/0.002135, allocations: 216 kB / 23.04 MB, free: 4.473 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 7.73 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.351/3.351, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.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.002053/0.002053, allocations: 66.97 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4746, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2443/0.7188, allocations: 175.9 MB / 1.499 GB, free: 420 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.7345, allocations: 8.706 MB / 1.507 GB, free: 7.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.7362, allocations: 23.81 kB / 1.507 GB, free: 7.656 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.7383, allocations: 0.5787 MB / 1.508 GB, free: 7.074 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006829/0.7451, allocations: 2.085 MB / 1.51 GB, free: 4.98 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.7479, allocations: 0.7429 MB / 1.511 GB, free: 4.242 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003956/0.7519, allocations: 2.108 MB / 1.513 GB, free: 2.125 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.7531, allocations: 0.5808 MB / 1.513 GB, free: 1.523 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004422/0.7575, allocations: 1.569 MB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.7591, allocations: 0.7197 MB / 1.516 GB, free: 15.23 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.7593, allocations: 72 kB / 1.516 GB, free: 15.16 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004004/0.7633, allocations: 1.566 MB / 1.517 GB, free: 13.59 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005609/0.7638, allocations: 362.8 kB / 1.518 GB, free: 13.23 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006856/0.7645, allocations: 418.2 kB / 1.518 GB, free: 12.82 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00424/0.7688, allocations: 1.806 MB / 1.52 GB, free: 11.01 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.7688, allocations: 0 / 1.52 GB, free: 11.01 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7688, allocations: 0 / 1.52 GB, free: 11.01 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.128e-05/0.7688, allocations: 0 / 1.52 GB, free: 11.01 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.00392/0.7727, allocations: 1.392 MB / 1.521 GB, free: 9.582 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.7728, allocations: 8.031 kB / 1.521 GB, free: 9.574 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/0.7735, allocations: 151.3 kB / 1.521 GB, free: 9.426 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.7746, allocations: 0.5381 MB / 1.522 GB, free: 8.855 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/0.7746, allocations: 50 kB / 1.522 GB, free: 8.805 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.7748, allocations: 75.92 kB / 1.522 GB, free: 8.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.7762, allocations: 0.8587 MB / 1.523 GB, free: 7.852 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.7763, allocations: 4 kB / 1.523 GB, free: 7.848 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.7763, allocations: 28 kB / 1.523 GB, free: 7.82 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.338e-05/0.7764, allocations: 49.97 kB / 1.523 GB, free: 7.77 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.7778, allocations: 0.7651 MB / 1.524 GB, free: 7.004 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00436/0.7821, allocations: 2.2 MB / 1.526 GB, free: 4.75 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009072/0.7831, allocations: 405.7 kB / 1.526 GB, free: 4.348 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.7834, allocations: 173.4 kB / 1.526 GB, free: 4.176 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/0.7837, allocations: 92.25 kB / 1.526 GB, free: 4.086 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.7838, allocations: 34.89 kB / 1.526 GB, free: 4.043 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 2.866e-06/0.7838, allocations: 0 / 1.526 GB, free: 4.043 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.001372/0.7852, allocations: 0.5838 MB / 1.527 GB, free: 3.453 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.7852, allocations: 71.2 kB / 1.527 GB, free: 3.371 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000809/0.786, allocations: 0.5731 MB / 1.528 GB, free: 2.789 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.7861, allocations: 29.7 kB / 1.528 GB, free: 2.754 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.7864, allocations: 424.1 kB / 1.528 GB, free: 2.336 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.7866, allocations: 146.8 kB / 1.528 GB, free: 2.191 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.7868, allocations: 94.14 kB / 1.528 GB, free: 2.094 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002176/0.787, allocations: 370.7 kB / 1.529 GB, free: 1.723 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.7873, allocations: 180.9 kB / 1.529 GB, free: 1.547 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.7879, allocations: 383.8 kB / 1.529 GB, free: 1.121 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008504/0.7887, allocations: 446.6 kB / 1.53 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7887, allocations: 0 / 1.53 GB, free: 0.6562 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00106/0.7898, allocations: 0.5704 MB / 1.53 GB, free: 80 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.7898, allocations: 4 kB / 1.53 GB, free: 76 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.7898, allocations: 4 kB / 1.53 GB, free: 72 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.7899, allocations: 4 kB / 1.53 GB, free: 68 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.7904, allocations: 99.81 kB / 1.53 GB, free: 15.97 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.545e-05/0.7904, allocations: 8.156 kB / 1.53 GB, free: 15.96 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.7909, allocations: 55.66 kB / 1.53 GB, free: 15.91 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.791, allocations: 20 kB / 1.53 GB, free: 15.89 MB / 1.232 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.0003897/0.7914, allocations: 249.6 kB / 1.531 GB, free: 15.63 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.7915, allocations: 59.62 kB / 1.531 GB, free: 15.57 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.7926, allocations: 0.5375 MB / 1.531 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7926, allocations: 4 kB / 1.531 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.7926, allocations: 3.938 kB / 1.531 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.7926, allocations: 0 / 1.531 GB, free: 15.02 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/0.7959, allocations: 1.782 MB / 1.533 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.7959, allocations: 12.19 kB / 1.533 GB, free: 13.11 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.7963, allocations: 95.83 kB / 1.533 GB, free: 13.01 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.692e-05/0.7963, allocations: 11.94 kB / 1.533 GB, free: 13 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.7963, allocations: 23.98 kB / 1.533 GB, free: 12.98 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.7963, allocations: 11.94 kB / 1.533 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/0.7964, allocations: 7.938 kB / 1.533 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.7979, allocations: 0.9606 MB / 1.534 GB, free: 11.9 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/0.7981, allocations: 111.4 kB / 1.534 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.192e-05/0.7982, allocations: 16 kB / 1.534 GB, free: 11.78 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004147/0.7986, allocations: 19.98 kB / 1.534 GB, free: 11.76 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.7987, allocations: 55.75 kB / 1.534 GB, free: 11.7 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/0.7988, allocations: 16 kB / 1.534 GB, free: 11.69 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005648/0.7993, allocations: 418.8 kB / 1.535 GB, free: 11.28 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7993, allocations: 4 kB / 1.535 GB, free: 11.28 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009443/0.8003, allocations: 263.5 kB / 1.535 GB, free: 11.02 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.0004544/0.8007, allocations: 234.6 kB / 1.535 GB, free: 10.78 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009252/0.8017, allocations: 446.2 kB / 1.535 GB, free: 10.34 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.8017, allocations: 0 / 1.535 GB, free: 10.34 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003958/0.8021, allocations: 223 kB / 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.001345/0.8034, allocations: 245.3 kB / 1.536 GB, free: 9.891 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.8063, allocations: 1.574 MB / 1.537 GB, free: 8.195 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.8068, allocations: 415.3 kB / 1.538 GB, free: 7.762 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.807, allocations: 59.42 kB / 1.538 GB, free: 7.703 MB / 1.232 GB Notification: Performance of SimCode: time 1.453e-06/0.807, allocations: 3.938 kB / 1.538 GB, free: 7.699 MB / 1.232 GB Notification: Performance of Templates: time 0.02218/0.8292, allocations: 11.46 MB / 1.549 GB, free: 12.32 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/jenkins1/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: 14.859602410113439]