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.00178/0.00178, allocations: 104.3 kB / 19.7 MB, free: 2.129 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.002302/0.002302, allocations: 220.8 kB / 22.99 MB, free: 4.938 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.002096/0.002096, allocations: 67.41 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3196, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2256/0.5452, allocations: 175.9 MB / 1.499 GB, free: 444 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.5581, allocations: 8.7 MB / 1.507 GB, free: 7.707 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009812/0.5591, allocations: 23.81 kB / 1.507 GB, free: 7.684 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.5608, allocations: 0.5787 MB / 1.508 GB, free: 7.102 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005478/0.5663, allocations: 2.077 MB / 1.51 GB, free: 5.016 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.5683, allocations: 0.7557 MB / 1.511 GB, free: 4.262 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002993/0.5713, allocations: 2.119 MB / 1.513 GB, free: 2.137 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/0.5723, allocations: 0.5847 MB / 1.513 GB, free: 1.535 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.5759, allocations: 1.573 MB / 1.515 GB, free: 15.95 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.5772, allocations: 0.7664 MB / 1.516 GB, free: 15.19 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.5773, allocations: 68 kB / 1.516 GB, free: 15.12 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.5807, allocations: 1.59 MB / 1.517 GB, free: 13.53 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004768/0.5812, allocations: 370.8 kB / 1.518 GB, free: 13.16 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006148/0.5818, allocations: 422.2 kB / 1.518 GB, free: 12.75 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003326/0.5851, allocations: 1.791 MB / 1.52 GB, free: 10.95 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.5851, allocations: 7.984 kB / 1.52 GB, free: 10.95 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5851, allocations: 0 / 1.52 GB, free: 10.95 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.091e-05/0.5851, allocations: 0 / 1.52 GB, free: 10.95 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.004077/0.5892, allocations: 1.384 MB / 1.521 GB, free: 9.527 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5892, allocations: 8.031 kB / 1.521 GB, free: 9.52 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.59, allocations: 151.3 kB / 1.521 GB, free: 9.371 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.5911, allocations: 0.542 MB / 1.522 GB, free: 8.797 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.5911, allocations: 53.98 kB / 1.522 GB, free: 8.742 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.5913, allocations: 64 kB / 1.522 GB, free: 8.68 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.5928, allocations: 0.8626 MB / 1.523 GB, free: 7.797 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.5928, allocations: 0 / 1.523 GB, free: 7.797 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.5929, allocations: 27.98 kB / 1.523 GB, free: 7.77 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.029e-05/0.5929, allocations: 61.84 kB / 1.523 GB, free: 7.707 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/0.5944, allocations: 0.7651 MB / 1.524 GB, free: 6.941 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.5989, allocations: 2.188 MB / 1.526 GB, free: 4.699 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.5998, allocations: 405.4 kB / 1.526 GB, free: 4.297 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.6001, allocations: 177.4 kB / 1.526 GB, free: 4.121 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004026/0.6005, allocations: 88.25 kB / 1.526 GB, free: 4.035 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.6005, allocations: 42.83 kB / 1.526 GB, free: 3.984 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 2.284e-06/0.6005, allocations: 0 / 1.526 GB, free: 3.984 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.001372/0.6019, allocations: 0.5799 MB / 1.527 GB, free: 3.398 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.6019, allocations: 59.34 kB / 1.527 GB, free: 3.328 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/0.6027, allocations: 0.577 MB / 1.528 GB, free: 2.742 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.6028, allocations: 29.7 kB / 1.528 GB, free: 2.707 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003558/0.6031, allocations: 432 kB / 1.528 GB, free: 2.281 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.6032, allocations: 138.8 kB / 1.528 GB, free: 2.145 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.6034, allocations: 98.14 kB / 1.528 GB, free: 2.043 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.6036, allocations: 366.8 kB / 1.529 GB, free: 1.676 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.604, allocations: 180.9 kB / 1.529 GB, free: 1.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005244/0.6045, allocations: 387.7 kB / 1.529 GB, free: 1.07 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/0.6053, allocations: 446.6 kB / 1.53 GB, free: 0.6055 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6053, allocations: 3.938 kB / 1.53 GB, free: 0.6016 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00108/0.6064, allocations: 0.5666 MB / 1.53 GB, free: 28 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6064, allocations: 4 kB / 1.53 GB, free: 24 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.6064, allocations: 8 kB / 1.53 GB, free: 16 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6064, allocations: 7.938 kB / 1.53 GB, free: 8 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000548/0.607, allocations: 108.1 kB / 1.53 GB, free: 15.9 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.607, allocations: 11.88 kB / 1.53 GB, free: 15.89 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/0.6075, allocations: 47.66 kB / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.6076, allocations: 20 kB / 1.53 GB, free: 15.82 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.000346/0.6079, allocations: 241.7 kB / 1.531 GB, free: 15.58 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.608, allocations: 59.62 kB / 1.531 GB, free: 15.52 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.6091, allocations: 0.5414 MB / 1.531 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6091, allocations: 4 kB / 1.531 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.6091, allocations: 7.938 kB / 1.531 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6091, allocations: 0 / 1.531 GB, free: 14.95 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.6125, allocations: 1.781 MB / 1.533 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.6125, allocations: 8 kB / 1.533 GB, free: 13.05 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004584/0.613, allocations: 87.83 kB / 1.533 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.613, allocations: 11.94 kB / 1.533 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.613, allocations: 20 kB / 1.533 GB, free: 12.93 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-05/0.6131, allocations: 15.92 kB / 1.533 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.6131, allocations: 8 kB / 1.533 GB, free: 12.91 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.6148, allocations: 0.9617 MB / 1.534 GB, free: 11.85 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.6151, allocations: 115.4 kB / 1.534 GB, free: 11.74 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.773e-05/0.6152, allocations: 16 kB / 1.534 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/0.6156, allocations: 19.98 kB / 1.534 GB, free: 11.7 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.6157, allocations: 47.81 kB / 1.534 GB, free: 11.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.6158, allocations: 24 kB / 1.534 GB, free: 11.63 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005356/0.6163, allocations: 418.8 kB / 1.535 GB, free: 11.23 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6163, allocations: 4.062 kB / 1.535 GB, free: 11.22 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008329/0.6171, allocations: 263.4 kB / 1.535 GB, free: 10.96 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.0003733/0.6175, allocations: 218.8 kB / 1.535 GB, free: 10.74 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.000911/0.6184, allocations: 446.2 kB / 1.535 GB, free: 10.3 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.6184, allocations: 4 kB / 1.535 GB, free: 10.3 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.6189, allocations: 224.8 kB / 1.536 GB, free: 10.08 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.6202, allocations: 251.4 kB / 1.536 GB, free: 9.84 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.6228, allocations: 1.521 MB / 1.537 GB, free: 8.203 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.6233, allocations: 415.3 kB / 1.538 GB, free: 7.77 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0005086/0.6238, allocations: 140.8 kB / 1.538 GB, free: 7.633 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.624, allocations: 51.42 kB / 1.538 GB, free: 7.582 MB / 1.232 GB Notification: Performance of SimCode: time 5.1e-07/0.624, allocations: 0 / 1.538 GB, free: 7.582 MB / 1.232 GB Notification: Performance of Templates: time 0.02284/0.6468, allocations: 12.47 MB / 1.55 GB, free: 11.36 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 -s cvode -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: 9.310006492989487]