Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.001796/0.001796, 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.002289/0.002289, allocations: 221.8 kB / 23 MB, free: 4.91 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.713/1.713, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.386/3.386, allocations: 0.4892 GB / 0.7951 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.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors") [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.002173/0.002173, allocations: 66.61 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4516, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2867/0.7383, allocations: 193.5 MB / 1.515 GB, free: 15.72 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03165/0.7699, allocations: 18.9 MB / 1.534 GB, free: 12.76 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.7736, allocations: 71.44 kB / 1.534 GB, free: 12.69 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003844/0.7775, allocations: 1.189 MB / 1.535 GB, free: 11.5 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/0.7912, allocations: 4.262 MB / 1.539 GB, free: 7.219 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.7967, allocations: 1.577 MB / 1.541 GB, free: 5.645 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.01118/0.8079, allocations: 7.053 MB / 1.548 GB, free: 14.57 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003633/0.8115, allocations: 1.798 MB / 1.549 GB, free: 12.72 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006498/0.818, allocations: 2.586 MB / 1.552 GB, free: 10.13 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006287/0.8243, allocations: 2.459 MB / 1.554 GB, free: 7.668 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0008205/0.8251, allocations: 348 kB / 1.555 GB, free: 7.328 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008495/0.8336, allocations: 2.876 MB / 1.557 GB, free: 4.445 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.8357, allocations: 1.422 MB / 1.559 GB, free: 3.02 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.003036/0.8387, allocations: 1.568 MB / 1.56 GB, free: 1.445 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01283/0.8515, allocations: 5.676 MB / 1.566 GB, free: 11.75 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.8515, allocations: 4 kB / 1.566 GB, free: 11.75 MB / 1.264 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8515, allocations: 0 / 1.566 GB, free: 11.75 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0001703/0.8517, allocations: 7.984 kB / 1.566 GB, free: 11.74 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: 760 * Number of variables: 760 Notification: Performance of Generate backend data structure: time 0.01211/0.8638, allocations: 3.843 MB / 1.57 GB, free: 7.844 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 5.701e-05/0.8639, allocations: 8.031 kB / 1.57 GB, free: 7.836 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/0.8689, allocations: 0.8526 MB / 1.57 GB, free: 6.98 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004848/0.8738, allocations: 1.77 MB / 1.572 GB, free: 5.16 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.874, allocations: 209.4 kB / 1.572 GB, free: 4.953 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004913/0.8745, allocations: 272 kB / 1.573 GB, free: 4.688 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006967/0.8814, allocations: 3.877 MB / 1.576 GB, free: 0.6797 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.353e-05/0.8815, allocations: 0 / 1.576 GB, free: 0.6797 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.8818, allocations: 120 kB / 1.576 GB, free: 0.5625 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002135/0.882, allocations: 189.8 kB / 1.577 GB, free: 384 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008348/0.8903, allocations: 4.938 MB / 1.581 GB, free: 11.43 MB / 1.279 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/0.9077, allocations: 7.642 MB / 1.589 GB, free: 3.723 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006571/0.9143, allocations: 4.515 MB / 1.593 GB, free: 15.16 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00375/0.918, allocations: 2.289 MB / 1.596 GB, free: 12.86 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008041/0.9188, allocations: 175 kB / 1.596 GB, free: 12.69 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.9189, allocations: 81.64 kB / 1.596 GB, free: 12.6 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 7.935e-06/0.9189, allocations: 0 / 1.596 GB, free: 12.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.01058/0.9295, allocations: 5.806 MB / 1.602 GB, free: 6.766 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.9296, allocations: 90.55 kB / 1.602 GB, free: 6.664 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.9317, allocations: 1.285 MB / 1.603 GB, free: 5.371 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000274/0.932, allocations: 93.7 kB / 1.603 GB, free: 5.273 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000823/0.9328, allocations: 0.9569 MB / 1.604 GB, free: 4.305 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001532/0.9343, allocations: 1.41 MB / 1.605 GB, free: 2.883 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.9354, allocations: 0.6383 MB / 1.606 GB, free: 2.238 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9355, allocations: 301.1 kB / 1.606 GB, free: 1.941 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002828/0.9384, allocations: 1.757 MB / 1.608 GB, free: 188 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.066/2.005, allocations: 2.082 MB / 1.61 GB, free: 278.4 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008075/2.013, allocations: 4.068 MB / 1.614 GB, free: 277.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.827e-05/2.013, allocations: 1.281 kB / 1.614 GB, free: 277.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.009067/2.022, allocations: 4.592 MB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/2.022, allocations: 10.06 kB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/2.022, allocations: 8.922 kB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.089e-05/2.022, allocations: 19.09 kB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004007/2.026, allocations: 0.776 MB / 1.619 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.564e-05/2.026, allocations: 20.53 kB / 1.619 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/2.029, allocations: 303.2 kB / 1.619 GB, free: 275.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003333/2.03, allocations: 128.7 kB / 1.62 GB, free: 275.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (493): * Single equations (assignments): 493 * 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.001738/2.031, allocations: 0.7437 MB / 1.62 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007626/2.032, allocations: 251.2 kB / 1.621 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008157/2.04, allocations: 4.631 MB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.067e-05/2.04, allocations: 38.69 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/2.04, allocations: 2.062 kB / 1.625 GB, free: 273.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006548/2.047, allocations: 3.952 MB / 1.629 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01451/2.061, allocations: 7.371 MB / 1.636 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/2.061, allocations: 0.7969 kB / 1.636 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/2.064, allocations: 0.66 MB / 1.637 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005271/2.065, allocations: 140.7 kB / 1.637 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002585/2.065, allocations: 86.33 kB / 1.637 GB, free: 268.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/2.068, allocations: 4.652 MB / 1.642 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/2.068, allocations: 0 / 1.642 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009893/2.078, allocations: 6.834 MB / 1.648 GB, free: 260.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002012/2.08, allocations: 0.6983 MB / 1.649 GB, free: 260.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/2.08, allocations: 68 kB / 1.649 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001807/2.082, allocations: 89.23 kB / 1.649 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/2.082, allocations: 240 kB / 1.649 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001818/2.083, allocations: 110.9 kB / 1.649 GB, free: 260 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001021/2.084, allocations: 0.849 MB / 1.65 GB, free: 259.3 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/2.084, allocations: 0 / 1.65 GB, free: 259.3 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002537/2.086, allocations: 1.126 MB / 1.651 GB, free: 258.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006059/2.087, allocations: 342.9 kB / 1.652 GB, free: 257.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005344/2.092, allocations: 4.023 MB / 1.656 GB, free: 254.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/2.092, allocations: 3.094 kB / 1.656 GB, free: 254.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002727/2.095, allocations: 2.36 MB / 1.658 GB, free: 252.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004421/2.099, allocations: 1.07 MB / 1.659 GB, free: 251.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008626/2.108, allocations: 6.844 MB / 1.666 GB, free: 245 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/2.109, allocations: 1.37 MB / 1.667 GB, free: 243.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/2.11, allocations: 295.4 kB / 1.667 GB, free: 243.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/2.11, allocations: 0 / 1.667 GB, free: 243.3 MB / 1.295 GB Notification: Performance of Templates: time 0.06865/2.179, allocations: 61.02 MB / 1.727 GB, free: 182.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.ClosedDoors.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: 22.525483978446573]