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.001719/0.001719, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002407/0.002407, allocations: 210.9 kB / 23 MB, free: 4.566 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.416/3.416, allocations: 0.505 GB / 0.8108 GB, free: 22.16 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.002553/0.002553, allocations: 70.81 kB / 1.178 GB, free: 16.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4548, allocations: 180.2 MB / 1.354 GB, free: 8.012 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.273/0.7278, allocations: 202.8 MB / 1.552 GB, free: 12.46 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.015/0.7428, allocations: 9.718 MB / 1.562 GB, free: 2.719 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.7442, allocations: 27.81 kB / 1.562 GB, free: 2.691 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.7461, allocations: 0.6449 MB / 1.562 GB, free: 2.043 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006083/0.7522, allocations: 2.151 MB / 1.564 GB, free: 15.88 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.7547, allocations: 0.7863 MB / 1.565 GB, free: 15.1 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.7582, allocations: 2.155 MB / 1.567 GB, free: 12.94 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.7593, allocations: 0.608 MB / 1.568 GB, free: 12.31 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003951/0.7633, allocations: 1.596 MB / 1.569 GB, free: 10.71 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.7648, allocations: 0.786 MB / 1.57 GB, free: 9.922 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.7649, allocations: 72 kB / 1.57 GB, free: 9.852 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004666/0.7696, allocations: 2.1 MB / 1.572 GB, free: 7.746 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0005643/0.7701, allocations: 374.8 kB / 1.573 GB, free: 7.379 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008423/0.771, allocations: 0.5016 MB / 1.573 GB, free: 6.875 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004623/0.7756, allocations: 1.912 MB / 1.575 GB, free: 4.957 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.7756, allocations: 4 kB / 1.575 GB, free: 4.953 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7756, allocations: 0 / 1.575 GB, free: 4.953 MB / 1.264 GB Notification: Performance of Transformations before backend: time 1.448e-05/0.7756, allocations: 4 kB / 1.575 GB, free: 4.949 MB / 1.264 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.003916/0.7795, allocations: 1.399 MB / 1.576 GB, free: 3.516 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.7796, allocations: 12.03 kB / 1.576 GB, free: 3.504 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.7817, allocations: 339 kB / 1.577 GB, free: 3.172 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.7829, allocations: 0.5576 MB / 1.577 GB, free: 2.586 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.783, allocations: 53.98 kB / 1.577 GB, free: 2.531 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.7831, allocations: 79.98 kB / 1.577 GB, free: 2.453 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00191/0.785, allocations: 0.9835 MB / 1.578 GB, free: 1.449 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.7851, allocations: 0 / 1.578 GB, free: 1.449 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.364e-05/0.7852, allocations: 32 kB / 1.578 GB, free: 1.418 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.699e-05/0.7852, allocations: 45.98 kB / 1.578 GB, free: 1.371 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.7874, allocations: 0.9758 MB / 1.579 GB, free: 404 kB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005301/0.7927, allocations: 2.984 MB / 1.582 GB, free: 13.25 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008816/0.7936, allocations: 421.5 kB / 1.583 GB, free: 12.83 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.794, allocations: 197.4 kB / 1.583 GB, free: 12.64 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.7942, allocations: 40.3 kB / 1.583 GB, free: 12.6 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.7942, allocations: 42.83 kB / 1.583 GB, free: 12.55 MB / 1.279 GB Notification: Performance of pre-optimization done (n=40): time 1.844e-06/0.7942, allocations: 0 / 1.583 GB, free: 12.55 MB / 1.279 GB Notification: Performance of matching and sorting (n=40): time 0.001712/0.796, allocations: 0.6696 MB / 1.584 GB, free: 11.87 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.062e-05/0.796, allocations: 55.41 kB / 1.584 GB, free: 11.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/0.7975, allocations: 0.9735 MB / 1.585 GB, free: 10.82 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.7976, allocations: 33.64 kB / 1.585 GB, free: 10.79 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003665/0.7979, allocations: 396.2 kB / 1.585 GB, free: 10.39 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.7981, allocations: 146.7 kB / 1.585 GB, free: 10.25 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.7983, allocations: 106.1 kB / 1.585 GB, free: 10.14 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7985, allocations: 326 kB / 1.586 GB, free: 9.816 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000704/0.7992, allocations: 272.8 kB / 1.586 GB, free: 9.551 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.8, allocations: 364.9 kB / 1.586 GB, free: 9.168 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.8011, allocations: 0.5376 MB / 1.587 GB, free: 8.602 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.8011, allocations: 0 / 1.587 GB, free: 8.602 MB / 1.279 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001837/0.803, allocations: 0.7506 MB / 1.587 GB, free: 7.844 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.803, allocations: 7.938 kB / 1.587 GB, free: 7.836 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.803, allocations: 4 kB / 1.587 GB, free: 7.832 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.803, allocations: 8.156 kB / 1.587 GB, free: 7.824 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008068/0.8038, allocations: 135.8 kB / 1.588 GB, free: 7.691 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.8038, allocations: 4 kB / 1.588 GB, free: 7.688 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.8051, allocations: 147.2 kB / 1.588 GB, free: 7.543 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.8051, allocations: 27.98 kB / 1.588 GB, free: 7.516 MB / 1.279 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.0004097/0.8056, allocations: 238.3 kB / 1.588 GB, free: 7.273 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.8057, allocations: 83.48 kB / 1.588 GB, free: 7.191 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.807, allocations: 0.5858 MB / 1.589 GB, free: 6.598 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.807, allocations: 11.94 kB / 1.589 GB, free: 6.586 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.807, allocations: 0 / 1.589 GB, free: 6.586 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.807, allocations: 3.984 kB / 1.589 GB, free: 6.582 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.8112, allocations: 2.129 MB / 1.591 GB, free: 4.32 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.8112, allocations: 4 kB / 1.591 GB, free: 4.316 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004981/0.8117, allocations: 104.6 kB / 1.591 GB, free: 4.215 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.444e-05/0.8117, allocations: 12 kB / 1.591 GB, free: 4.203 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/0.8117, allocations: 16 kB / 1.591 GB, free: 4.188 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/0.8118, allocations: 8 kB / 1.591 GB, free: 4.18 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.355e-05/0.8118, allocations: 12 kB / 1.591 GB, free: 4.168 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.8136, allocations: 1.09 MB / 1.592 GB, free: 2.98 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000454/0.8141, allocations: 171.1 kB / 1.592 GB, free: 2.812 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.8142, allocations: 19.98 kB / 1.592 GB, free: 2.793 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/0.815, allocations: 43.95 kB / 1.592 GB, free: 2.75 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.8151, allocations: 55.81 kB / 1.592 GB, free: 2.695 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.8151, allocations: 20 kB / 1.592 GB, free: 2.676 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001151/0.8163, allocations: 0.7098 MB / 1.593 GB, free: 1.969 MB / 1.279 GB Notification: Performance of sort global known variables: time 1e-07/0.8163, allocations: 0 / 1.593 GB, free: 1.969 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008756/0.8171, allocations: 263.7 kB / 1.593 GB, free: 1.711 MB / 1.279 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.0003952/0.8175, allocations: 204.2 kB / 1.593 GB, free: 1.504 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001397/0.8189, allocations: 0.5466 MB / 1.594 GB, free: 0.9531 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-05/0.8189, allocations: 8.125 kB / 1.594 GB, free: 0.9453 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.8195, allocations: 245 kB / 1.594 GB, free: 0.707 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.8217, allocations: 0.5028 MB / 1.595 GB, free: 212 kB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.8249, allocations: 1.682 MB / 1.596 GB, free: 14.41 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007265/0.8256, allocations: 1.012 MB / 1.597 GB, free: 13.36 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.8259, allocations: 79.34 kB / 1.597 GB, free: 13.29 MB / 1.295 GB Notification: Performance of SimCode: time 9.12e-07/0.8259, allocations: 0 / 1.597 GB, free: 13.29 MB / 1.295 GB Notification: Performance of Templates: time 0.9231/1.749, allocations: 15.55 MB / 1.613 GB, free: 256 MB / 1.295 GB " [Timeout remaining time 298] 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: 17.004022251989227]