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.001673/0.001673, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002098/0.002098, allocations: 215 kB / 22.99 MB, free: 4.914 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.435/3.435, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 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.002127/0.002127, allocations: 77.86 kB / 1.154 GB, free: 25.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4633/0.4655, allocations: 176.1 MB / 1.326 GB, free: 2.062 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2497/0.7152, allocations: 175.9 MB / 1.498 GB, free: 1.508 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.7295, allocations: 8.704 MB / 1.507 GB, free: 8.777 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.7309, allocations: 27.81 kB / 1.507 GB, free: 8.75 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.7329, allocations: 0.5709 MB / 1.507 GB, free: 8.176 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.7392, allocations: 2.085 MB / 1.509 GB, free: 6.082 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.7418, allocations: 0.7619 MB / 1.51 GB, free: 5.324 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.003444/0.7452, allocations: 2.101 MB / 1.512 GB, free: 3.215 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.7464, allocations: 0.5807 MB / 1.513 GB, free: 2.617 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/0.7504, allocations: 1.569 MB / 1.514 GB, free: 1.043 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.7519, allocations: 0.7197 MB / 1.515 GB, free: 328 kB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.7521, allocations: 75.94 kB / 1.515 GB, free: 252 kB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003886/0.756, allocations: 1.57 MB / 1.516 GB, free: 14.67 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005566/0.7565, allocations: 354.8 kB / 1.517 GB, free: 14.32 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006894/0.7572, allocations: 434.1 kB / 1.517 GB, free: 13.9 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.7611, allocations: 1.795 MB / 1.519 GB, free: 12.1 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7611, allocations: 0 / 1.519 GB, free: 12.1 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7611, allocations: 0 / 1.519 GB, free: 12.1 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.7611, allocations: 0 / 1.519 GB, free: 12.1 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.00379/0.7649, allocations: 1.388 MB / 1.52 GB, free: 10.68 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.765, allocations: 8.031 kB / 1.52 GB, free: 10.67 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006757/0.7656, allocations: 159.3 kB / 1.52 GB, free: 10.51 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.7668, allocations: 0.5265 MB / 1.521 GB, free: 9.953 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.997e-05/0.7668, allocations: 57.94 kB / 1.521 GB, free: 9.895 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.767, allocations: 72 kB / 1.521 GB, free: 9.824 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.7685, allocations: 0.8587 MB / 1.522 GB, free: 8.945 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.546e-05/0.7685, allocations: 4 kB / 1.522 GB, free: 8.941 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.78e-05/0.7686, allocations: 28 kB / 1.522 GB, free: 8.914 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.18e-05/0.7687, allocations: 49.92 kB / 1.522 GB, free: 8.863 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.7701, allocations: 0.7729 MB / 1.523 GB, free: 8.09 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004542/0.7746, allocations: 2.188 MB / 1.525 GB, free: 5.848 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008804/0.7755, allocations: 405.6 kB / 1.525 GB, free: 5.445 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.7758, allocations: 173.4 kB / 1.525 GB, free: 5.273 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003913/0.7762, allocations: 92.27 kB / 1.525 GB, free: 5.184 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.7762, allocations: 30.89 kB / 1.526 GB, free: 5.145 MB / 1.217 GB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.7762, allocations: 0 / 1.526 GB, free: 5.145 MB / 1.217 GB Notification: Performance of matching and sorting (n=40): time 0.001374/0.7776, allocations: 0.5916 MB / 1.526 GB, free: 4.547 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.7777, allocations: 59.34 kB / 1.526 GB, free: 4.477 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/0.7785, allocations: 0.5731 MB / 1.527 GB, free: 3.895 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.7785, allocations: 33.7 kB / 1.527 GB, free: 3.855 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003624/0.7789, allocations: 424 kB / 1.527 GB, free: 3.438 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.779, allocations: 146.8 kB / 1.527 GB, free: 3.293 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.7792, allocations: 98.12 kB / 1.527 GB, free: 3.191 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000222/0.7794, allocations: 366.8 kB / 1.528 GB, free: 2.824 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.7798, allocations: 184.9 kB / 1.528 GB, free: 2.645 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005601/0.7803, allocations: 383.7 kB / 1.528 GB, free: 2.219 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/0.7811, allocations: 450.6 kB / 1.529 GB, free: 1.75 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7811, allocations: 4 kB / 1.529 GB, free: 1.746 MB / 1.217 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001063/0.7822, allocations: 0.5626 MB / 1.529 GB, free: 1.176 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.7822, allocations: 4 kB / 1.529 GB, free: 1.172 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.7822, allocations: 4 kB / 1.529 GB, free: 1.168 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.7822, allocations: 4 kB / 1.529 GB, free: 1.164 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.7827, allocations: 104 kB / 1.529 GB, free: 1.062 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.7827, allocations: 11.88 kB / 1.529 GB, free: 1.051 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004974/0.7832, allocations: 51.66 kB / 1.529 GB, free: 1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-05/0.7833, allocations: 23.98 kB / 1.529 GB, free: 0.9766 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.0003928/0.7837, allocations: 237.7 kB / 1.53 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.7838, allocations: 59.62 kB / 1.53 GB, free: 0.6758 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.7849, allocations: 0.5452 MB / 1.53 GB, free: 120 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.7849, allocations: 4 kB / 1.53 GB, free: 116 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.7849, allocations: 8 kB / 1.53 GB, free: 108 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.7849, allocations: 3.984 kB / 1.53 GB, free: 104 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003428/0.7883, allocations: 1.787 MB / 1.532 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.7883, allocations: 7.984 kB / 1.532 GB, free: 14.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.7887, allocations: 95.83 kB / 1.532 GB, free: 14.09 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.7887, allocations: 11.94 kB / 1.532 GB, free: 14.08 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.7888, allocations: 12 kB / 1.532 GB, free: 14.07 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.7888, allocations: 12 kB / 1.532 GB, free: 14.06 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/0.7888, allocations: 7.938 kB / 1.532 GB, free: 14.05 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.7903, allocations: 0.9646 MB / 1.533 GB, free: 12.99 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003152/0.7906, allocations: 107.5 kB / 1.533 GB, free: 12.89 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.7907, allocations: 27.92 kB / 1.533 GB, free: 12.86 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/0.7911, allocations: 12 kB / 1.533 GB, free: 12.85 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.7912, allocations: 51.81 kB / 1.533 GB, free: 12.8 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.7913, allocations: 20 kB / 1.533 GB, free: 12.78 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005976/0.7919, allocations: 418.8 kB / 1.534 GB, free: 12.37 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.7919, allocations: 4.062 kB / 1.534 GB, free: 12.37 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009135/0.7928, allocations: 267.4 kB / 1.534 GB, free: 12.11 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.0004436/0.7932, allocations: 218.8 kB / 1.534 GB, free: 11.88 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009005/0.7941, allocations: 434.3 kB / 1.535 GB, free: 11.46 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7941, allocations: 0 / 1.535 GB, free: 11.46 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004143/0.7945, allocations: 228.8 kB / 1.535 GB, free: 11.23 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.7959, allocations: 247.3 kB / 1.535 GB, free: 10.99 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.7986, allocations: 1.58 MB / 1.537 GB, free: 9.293 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000507/0.7992, allocations: 419.3 kB / 1.537 GB, free: 8.855 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.7994, allocations: 51.44 kB / 1.537 GB, free: 8.805 MB / 1.232 GB Notification: Performance of SimCode: time 1.333e-06/0.7994, allocations: 0 / 1.537 GB, free: 8.805 MB / 1.232 GB Notification: Performance of Templates: time 0.02109/0.8205, allocations: 11.46 MB / 1.548 GB, free: 13.42 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.97116331802681]