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.001368/0.001368, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001618/0.001618, allocations: 212 kB / 22.24 MB, free: 4.855 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.793 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.228/3.228, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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.002073/0.002073, allocations: 67.31 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3436, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2563/0.5999, allocations: 193.5 MB / 1.514 GB, free: 15.68 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02886/0.6287, allocations: 18.91 MB / 1.533 GB, free: 12.72 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/0.6311, allocations: 71.44 kB / 1.533 GB, free: 12.65 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.003123/0.6342, allocations: 1.185 MB / 1.534 GB, free: 11.46 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.6453, allocations: 4.254 MB / 1.538 GB, free: 7.188 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004733/0.6501, allocations: 1.58 MB / 1.54 GB, free: 5.609 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.661, allocations: 7.054 MB / 1.547 GB, free: 14.54 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003854/0.6648, allocations: 1.798 MB / 1.548 GB, free: 12.69 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007872/0.6727, allocations: 2.59 MB / 1.551 GB, free: 10.09 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006771/0.6795, allocations: 2.47 MB / 1.553 GB, free: 7.621 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.00087/0.6803, allocations: 344 kB / 1.554 GB, free: 7.285 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006992/0.6873, allocations: 2.88 MB / 1.557 GB, free: 4.398 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001705/0.689, allocations: 1.422 MB / 1.558 GB, free: 2.973 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002689/0.6917, allocations: 1.56 MB / 1.559 GB, free: 1.406 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009221/0.701, allocations: 5.684 MB / 1.565 GB, free: 11.7 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.701, allocations: 4 kB / 1.565 GB, free: 11.7 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.204e-06/0.701, allocations: 0 / 1.565 GB, free: 11.7 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.715e-05/0.701, allocations: 4 kB / 1.565 GB, free: 11.7 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.009802/0.7108, allocations: 3.838 MB / 1.569 GB, free: 7.805 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.7109, allocations: 8.031 kB / 1.569 GB, free: 7.797 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.7159, allocations: 0.8526 MB / 1.57 GB, free: 6.941 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/0.7204, allocations: 1.777 MB / 1.571 GB, free: 5.113 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.7206, allocations: 205.4 kB / 1.572 GB, free: 4.91 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005658/0.7211, allocations: 279.9 kB / 1.572 GB, free: 4.637 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006906/0.7281, allocations: 3.873 MB / 1.576 GB, free: 0.6328 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.289e-05/0.7281, allocations: 0 / 1.576 GB, free: 0.6328 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002847/0.7284, allocations: 116 kB / 1.576 GB, free: 0.5195 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/0.7286, allocations: 189.8 kB / 1.576 GB, free: 340 kB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/0.7374, allocations: 4.941 MB / 1.581 GB, free: 11.38 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.01806/0.7554, allocations: 7.642 MB / 1.588 GB, free: 3.676 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006917/0.7624, allocations: 4.499 MB / 1.593 GB, free: 15.13 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004143/0.7665, allocations: 2.286 MB / 1.595 GB, free: 12.84 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000819/0.7673, allocations: 183 kB / 1.595 GB, free: 12.66 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.248e-05/0.7674, allocations: 85.64 kB / 1.595 GB, free: 12.56 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 6.583e-06/0.7674, allocations: 0 / 1.595 GB, free: 12.56 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.01122/0.7786, allocations: 5.802 MB / 1.601 GB, free: 6.73 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.7787, allocations: 98.48 kB / 1.601 GB, free: 6.621 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.7808, allocations: 1.285 MB / 1.602 GB, free: 5.328 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003428/0.7811, allocations: 97.64 kB / 1.602 GB, free: 5.227 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008437/0.782, allocations: 0.9569 MB / 1.603 GB, free: 4.258 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/0.7835, allocations: 1.406 MB / 1.604 GB, free: 2.84 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.7846, allocations: 0.6383 MB / 1.605 GB, free: 2.195 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.7847, allocations: 309.1 kB / 1.605 GB, free: 1.891 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/0.7878, allocations: 1.745 MB / 1.607 GB, free: 148 kB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7434/1.531, allocations: 2.082 MB / 1.609 GB, free: 278.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007523/1.539, allocations: 4.072 MB / 1.613 GB, free: 277.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-05/1.539, allocations: 2.375 kB / 1.613 GB, free: 277.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.008777/1.547, allocations: 4.593 MB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/1.548, allocations: 11.72 kB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/1.548, allocations: 4.344 kB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.074e-05/1.548, allocations: 21.5 kB / 1.618 GB, free: 275.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004096/1.552, allocations: 0.7718 MB / 1.618 GB, free: 275.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001128/1.552, allocations: 23.91 kB / 1.618 GB, free: 275.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003107/1.555, allocations: 303.6 kB / 1.619 GB, free: 275.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004349/1.555, allocations: 132.4 kB / 1.619 GB, free: 275.4 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.001804/1.557, allocations: 0.7389 MB / 1.62 GB, free: 275 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007667/1.558, allocations: 257.7 kB / 1.62 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008096/1.566, allocations: 4.621 MB / 1.624 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.506e-05/1.566, allocations: 39.33 kB / 1.624 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/1.566, allocations: 1.125 kB / 1.624 GB, free: 273 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006478/1.573, allocations: 3.962 MB / 1.628 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/1.586, allocations: 7.365 MB / 1.635 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/1.586, allocations: 1.688 kB / 1.635 GB, free: 268.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002891/1.589, allocations: 0.6544 MB / 1.636 GB, free: 268.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004796/1.589, allocations: 143.7 kB / 1.636 GB, free: 268.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002315/1.59, allocations: 88.16 kB / 1.636 GB, free: 268.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/1.592, allocations: 4.657 MB / 1.641 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.592, allocations: 0 / 1.641 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009282/1.602, allocations: 6.83 MB / 1.647 GB, free: 260.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/1.604, allocations: 0.6958 MB / 1.648 GB, free: 260.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000337/1.604, allocations: 71.66 kB / 1.648 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.606, allocations: 86.19 kB / 1.648 GB, free: 260.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003857/1.606, allocations: 231.8 kB / 1.649 GB, free: 260 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.606, allocations: 119.5 kB / 1.649 GB, free: 259.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001193/1.608, allocations: 0.8471 MB / 1.649 GB, free: 259.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/1.608, allocations: 4 kB / 1.649 GB, free: 259.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002627/1.61, allocations: 1.127 MB / 1.651 GB, free: 258.1 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.0006753/1.611, allocations: 334.8 kB / 1.651 GB, free: 257.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005942/1.617, allocations: 4.031 MB / 1.655 GB, free: 254.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.617, allocations: 4 kB / 1.655 GB, free: 254.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00304/1.62, allocations: 2.362 MB / 1.657 GB, free: 252.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005055/1.625, allocations: 1.063 MB / 1.658 GB, free: 251.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/1.635, allocations: 6.693 MB / 1.665 GB, free: 245.1 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001748/1.637, allocations: 1.374 MB / 1.666 GB, free: 243.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004585/1.641, allocations: 1.302 MB / 1.667 GB, free: 242.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.643, allocations: 247.4 kB / 1.668 GB, free: 242.2 MB / 1.295 GB Notification: Performance of SimCode: time 2.194e-06/1.643, allocations: 0.875 kB / 1.668 GB, free: 242.2 MB / 1.295 GB Notification: Performance of Templates: time 0.0686/1.711, allocations: 53.06 MB / 1.719 GB, free: 190.1 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/jenkins/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: 16.199080161750317]