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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002438/0.002438, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.116/3.116, allocations: 496 MB / 0.7835 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 66.11 kB / 1.138 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3027, allocations: 173.6 MB / 1.307 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.DoorOpenClosed): time 0.2401/0.5428, allocations: 199.8 MB / 1.502 GB, free: 9.277 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.5567, allocations: 9.547 MB / 1.512 GB, free: 15.7 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.558, allocations: 23.81 kB / 1.512 GB, free: 15.68 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001825/0.5598, allocations: 0.6254 MB / 1.512 GB, free: 15.05 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005347/0.5652, allocations: 2.128 MB / 1.514 GB, free: 12.91 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.5673, allocations: 0.7654 MB / 1.515 GB, free: 12.15 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002902/0.5702, allocations: 2.104 MB / 1.517 GB, free: 10.04 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001044/0.5712, allocations: 0.5925 MB / 1.518 GB, free: 9.434 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.5744, allocations: 1.58 MB / 1.519 GB, free: 7.848 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.5756, allocations: 0.7471 MB / 1.52 GB, free: 7.098 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.5758, allocations: 72 kB / 1.52 GB, free: 7.027 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003959/0.5797, allocations: 2.065 MB / 1.522 GB, free: 4.957 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005094/0.5802, allocations: 358.8 kB / 1.523 GB, free: 4.605 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007466/0.581, allocations: 0.5015 MB / 1.523 GB, free: 4.102 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003768/0.5848, allocations: 1.849 MB / 1.525 GB, free: 2.246 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5848, allocations: 4 kB / 1.525 GB, free: 2.242 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.013e-06/0.5848, allocations: 0 / 1.525 GB, free: 2.242 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.368e-05/0.5848, allocations: 0 / 1.525 GB, free: 2.242 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.003564/0.5883, allocations: 1.388 MB / 1.526 GB, free: 0.8203 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.5884, allocations: 12.92 kB / 1.526 GB, free: 0.8086 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/0.5891, allocations: 159.2 kB / 1.526 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000951/0.59, allocations: 0.5303 MB / 1.527 GB, free: 96 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/0.5901, allocations: 50 kB / 1.527 GB, free: 44 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.5902, allocations: 71.98 kB / 1.527 GB, free: 15.97 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.5917, allocations: 0.8587 MB / 1.528 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.5917, allocations: 4 kB / 1.528 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.129e-05/0.5918, allocations: 24 kB / 1.528 GB, free: 15.07 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-05/0.5918, allocations: 57.91 kB / 1.528 GB, free: 15.01 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5933, allocations: 0.769 MB / 1.529 GB, free: 14.24 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004762/0.598, allocations: 2.901 MB / 1.531 GB, free: 11.19 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008008/0.5988, allocations: 403.7 kB / 1.532 GB, free: 10.79 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.5992, allocations: 173.4 kB / 1.532 GB, free: 10.61 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004007/0.5996, allocations: 100.2 kB / 1.532 GB, free: 10.52 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5996, allocations: 34.89 kB / 1.532 GB, free: 10.47 MB / 1.232 GB Notification: Performance of pre-optimization done (n=40): time 1.893e-06/0.5996, allocations: 0 / 1.532 GB, free: 10.47 MB / 1.232 GB Notification: Performance of matching and sorting (n=40): time 0.001402/0.601, allocations: 0.6071 MB / 1.533 GB, free: 9.859 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.6011, allocations: 59.39 kB / 1.533 GB, free: 9.789 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/0.6022, allocations: 0.8719 MB / 1.534 GB, free: 8.906 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.6023, allocations: 33.7 kB / 1.534 GB, free: 8.867 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.6026, allocations: 384.3 kB / 1.534 GB, free: 8.488 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6027, allocations: 146.7 kB / 1.534 GB, free: 8.344 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.6029, allocations: 102.1 kB / 1.534 GB, free: 8.234 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6031, allocations: 322 kB / 1.535 GB, free: 7.914 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.6035, allocations: 184.9 kB / 1.535 GB, free: 7.734 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.6039, allocations: 280.9 kB / 1.535 GB, free: 7.434 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007872/0.6047, allocations: 450.6 kB / 1.535 GB, free: 6.965 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.6047, allocations: 0 / 1.535 GB, free: 6.965 MB / 1.232 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001109/0.6058, allocations: 0.5898 MB / 1.536 GB, free: 6.367 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6058, allocations: 4 kB / 1.536 GB, free: 6.363 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.6059, allocations: 4 kB / 1.536 GB, free: 6.359 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.6059, allocations: 7.938 kB / 1.536 GB, free: 6.352 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.6064, allocations: 99.89 kB / 1.536 GB, free: 6.254 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.6064, allocations: 7.938 kB / 1.536 GB, free: 6.246 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.607, allocations: 75.61 kB / 1.536 GB, free: 6.172 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.607, allocations: 27.98 kB / 1.536 GB, free: 6.145 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.0003348/0.6074, allocations: 237.7 kB / 1.536 GB, free: 5.902 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6075, allocations: 87.44 kB / 1.537 GB, free: 5.816 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.6086, allocations: 0.5515 MB / 1.537 GB, free: 5.25 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.6086, allocations: 11.94 kB / 1.537 GB, free: 5.238 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6086, allocations: 0 / 1.537 GB, free: 5.238 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.6086, allocations: 3.984 kB / 1.537 GB, free: 5.234 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.612, allocations: 1.948 MB / 1.539 GB, free: 3.156 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.612, allocations: 12 kB / 1.539 GB, free: 3.145 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.6125, allocations: 91.83 kB / 1.539 GB, free: 3.055 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.108e-05/0.6125, allocations: 8 kB / 1.539 GB, free: 3.047 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.6125, allocations: 20 kB / 1.539 GB, free: 3.027 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.6125, allocations: 8 kB / 1.539 GB, free: 3.02 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/0.6125, allocations: 11.98 kB / 1.539 GB, free: 3.008 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.614, allocations: 0.9916 MB / 1.54 GB, free: 1.926 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/0.6143, allocations: 143.2 kB / 1.54 GB, free: 1.785 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6144, allocations: 19.98 kB / 1.54 GB, free: 1.766 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.6149, allocations: 16 kB / 1.54 GB, free: 1.75 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.615, allocations: 55.81 kB / 1.54 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.6151, allocations: 16 kB / 1.54 GB, free: 1.68 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008932/0.616, allocations: 0.6317 MB / 1.541 GB, free: 1.051 MB / 1.232 GB Notification: Performance of sort global known variables: time 8.1e-08/0.616, allocations: 0 / 1.541 GB, free: 1.051 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0008094/0.6168, allocations: 239.7 kB / 1.541 GB, free: 0.8164 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.0005588/0.6173, allocations: 238.7 kB / 1.541 GB, free: 0.5859 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0009137/0.6182, allocations: 446.2 kB / 1.542 GB, free: 148 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6182, allocations: 0 / 1.542 GB, free: 148 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0004212/0.6187, allocations: 224 kB / 1.542 GB, free: 15.93 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002039/0.6207, allocations: 0.4971 MB / 1.543 GB, free: 15.43 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.6232, allocations: 1.561 MB / 1.544 GB, free: 13.76 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000778/0.624, allocations: 1.012 MB / 1.545 GB, free: 12.72 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006542/0.6246, allocations: 183.1 kB / 1.545 GB, free: 12.54 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.6248, allocations: 59.42 kB / 1.545 GB, free: 12.48 MB / 1.248 GB Notification: Performance of SimCode: time 7.01e-07/0.6248, allocations: 4 kB / 1.545 GB, free: 12.47 MB / 1.248 GB Notification: Performance of Templates: time 0.03143/0.6563, allocations: 17.63 MB / 1.563 GB, free: 11.07 MB / 1.264 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.757064322009683]