Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.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.001438/0.001438, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001863/0.001863, allocations: 192 kB / 22.23 MB, free: 5.098 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.427/1.427, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.219/3.219, allocations: 0.4893 GB / 0.7884 GB, free: 33.22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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_latest_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_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 69.33 kB / 1.145 GB, free: 30.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4046, allocations: 174.9 MB / 1.316 GB, free: 9.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2635/0.6682, allocations: 219.9 MB / 1.531 GB, free: 13.11 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03089/0.6991, allocations: 20.57 MB / 1.551 GB, free: 8.473 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/0.703, allocations: 75.44 kB / 1.551 GB, free: 8.398 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.004668/0.7076, allocations: 1.313 MB / 1.552 GB, free: 7.078 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01471/0.7223, allocations: 4.306 MB / 1.556 GB, free: 2.754 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005481/0.7278, allocations: 1.595 MB / 1.558 GB, free: 1.164 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01188/0.7397, allocations: 7.111 MB / 1.565 GB, free: 10.03 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004625/0.7443, allocations: 1.818 MB / 1.567 GB, free: 8.164 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007591/0.7519, allocations: 2.555 MB / 1.569 GB, free: 5.602 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007361/0.7593, allocations: 2.575 MB / 1.572 GB, free: 3.027 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001962/0.7612, allocations: 344 kB / 1.572 GB, free: 2.691 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.7727, allocations: 3.706 MB / 1.576 GB, free: 14.98 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00341/0.7761, allocations: 1.426 MB / 1.577 GB, free: 13.55 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.006355/0.7824, allocations: 1.84 MB / 1.579 GB, free: 11.7 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.8012, allocations: 5.758 MB / 1.584 GB, free: 5.922 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.8012, allocations: 4 kB / 1.584 GB, free: 5.918 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.717e-06/0.8012, allocations: 0 / 1.584 GB, free: 5.918 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0003803/0.8016, allocations: 0 / 1.584 GB, free: 5.918 MB / 1.279 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.01775/0.8194, allocations: 3.834 MB / 1.588 GB, free: 2.031 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/0.8195, allocations: 19.95 kB / 1.588 GB, free: 2.012 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006726/0.8262, allocations: 0.841 MB / 1.589 GB, free: 1.168 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008284/0.8345, allocations: 1.762 MB / 1.591 GB, free: 15.36 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003525/0.8348, allocations: 209.4 kB / 1.591 GB, free: 15.15 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001807/0.8366, allocations: 271.9 kB / 1.591 GB, free: 14.88 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.8482, allocations: 3.501 MB / 1.595 GB, free: 11.34 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.8483, allocations: 11.94 kB / 1.595 GB, free: 11.33 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008248/0.8491, allocations: 112 kB / 1.595 GB, free: 11.22 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002494/0.8494, allocations: 193.8 kB / 1.595 GB, free: 11.03 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01116/0.8606, allocations: 5.024 MB / 1.6 GB, free: 5.996 MB / 1.295 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.8845/1.745, allocations: 11.45 MB / 1.611 GB, free: 282.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006144/1.751, allocations: 4.514 MB / 1.615 GB, free: 280.7 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005074/1.756, allocations: 2.286 MB / 1.618 GB, free: 279.9 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001004/1.757, allocations: 201.9 kB / 1.618 GB, free: 279.9 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.556e-05/1.757, allocations: 73.33 kB / 1.618 GB, free: 279.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 5.871e-06/1.757, allocations: 0 / 1.618 GB, free: 279.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.01199/1.769, allocations: 5.805 MB / 1.624 GB, free: 277.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/1.769, allocations: 98.77 kB / 1.624 GB, free: 277.7 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/1.772, allocations: 1.289 MB / 1.625 GB, free: 277.2 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004695/1.772, allocations: 92.33 kB / 1.625 GB, free: 277.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006407/1.773, allocations: 0.9535 MB / 1.626 GB, free: 276.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.774, allocations: 1.41 MB / 1.627 GB, free: 275.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/1.775, allocations: 0.6405 MB / 1.628 GB, free: 275.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 5.173e-05/1.775, allocations: 308.9 kB / 1.628 GB, free: 274.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/1.778, allocations: 1.747 MB / 1.63 GB, free: 274.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003415/1.782, allocations: 2.086 MB / 1.632 GB, free: 273.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006671/1.788, allocations: 4.081 MB / 1.636 GB, free: 271.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/1.788, allocations: 0 / 1.636 GB, free: 271.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.007082/1.795, allocations: 4.597 MB / 1.64 GB, free: 270 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/1.795, allocations: 11.81 kB / 1.64 GB, free: 270 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.795, allocations: 5.5 kB / 1.64 GB, free: 270 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-05/1.796, allocations: 19.75 kB / 1.64 GB, free: 270 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003129/1.799, allocations: 0.7807 MB / 1.641 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-05/1.799, allocations: 19.25 kB / 1.641 GB, free: 269.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002963/1.802, allocations: 308 kB / 1.642 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003934/1.802, allocations: 129.9 kB / 1.642 GB, free: 269.7 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.001832/1.804, allocations: 0.7461 MB / 1.642 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008399/1.805, allocations: 252.3 kB / 1.643 GB, free: 269.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007718/1.813, allocations: 4.627 MB / 1.647 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/1.813, allocations: 44.09 kB / 1.647 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/1.813, allocations: 0 / 1.647 GB, free: 267.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005217/1.818, allocations: 3.956 MB / 1.651 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/1.832, allocations: 8.25 MB / 1.659 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/1.832, allocations: 0 / 1.659 GB, free: 255.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/1.835, allocations: 0.6664 MB / 1.66 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005538/1.835, allocations: 137.6 kB / 1.66 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004294/1.836, allocations: 83.92 kB / 1.66 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003319/1.839, allocations: 4.727 MB / 1.665 GB, free: 250 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.839, allocations: 0 / 1.665 GB, free: 250 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/1.85, allocations: 6.832 MB / 1.671 GB, free: 243.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002704/1.853, allocations: 0.6966 MB / 1.672 GB, free: 242.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.854, allocations: 71.62 kB / 1.672 GB, free: 242.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002941/1.857, allocations: 88.3 kB / 1.672 GB, free: 242.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006565/1.858, allocations: 234.6 kB / 1.672 GB, free: 242 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003737/1.858, allocations: 116 kB / 1.672 GB, free: 241.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001773/1.86, allocations: 0.8644 MB / 1.673 GB, free: 241.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 6e-08/1.86, allocations: 0 / 1.673 GB, free: 241.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004489/1.864, allocations: 1.124 MB / 1.674 GB, free: 239.9 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.0009448/1.865, allocations: 347.6 kB / 1.675 GB, free: 239.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006552/1.872, allocations: 4.031 MB / 1.679 GB, free: 235.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.872, allocations: 1 kB / 1.679 GB, free: 235.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003219/1.875, allocations: 2.361 MB / 1.681 GB, free: 233.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00471/1.88, allocations: 1.069 MB / 1.682 GB, free: 232.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009252/1.889, allocations: 6.699 MB / 1.689 GB, free: 225.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001482/1.891, allocations: 1.939 MB / 1.69 GB, free: 223.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.004112/1.895, allocations: 1.31 MB / 1.692 GB, free: 222.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/1.896, allocations: 243.4 kB / 1.692 GB, free: 222 MB / 1.295 GB Notification: Performance of SimCode: time 1.563e-06/1.896, allocations: 4 kB / 1.692 GB, free: 222 MB / 1.295 GB Notification: Performance of Templates: time 0.06999/1.966, allocations: 51.49 MB / 1.742 GB, free: 171.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.516828505322337]