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.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.001314/0.001314, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002951/0.002951, allocations: 218.1 kB / 23.01 MB, free: 4.609 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.663/1.663, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.682/3.682, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002059/0.002059, allocations: 68.7 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5848/0.5869, allocations: 180.2 MB / 1.354 GB, free: 7.973 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.3712/0.9581, allocations: 222.9 MB / 1.572 GB, free: 8.238 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.03457/0.9926, allocations: 20.62 MB / 1.592 GB, free: 3.559 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004661/0.9973, allocations: 75.44 kB / 1.592 GB, free: 3.484 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.004964/1.002, allocations: 1.317 MB / 1.593 GB, free: 2.16 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.01546/1.018, allocations: 4.304 MB / 1.597 GB, free: 13.84 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.006399/1.024, allocations: 1.594 MB / 1.599 GB, free: 12.25 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01371/1.038, allocations: 7.14 MB / 1.606 GB, free: 5.086 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004479/1.042, allocations: 1.818 MB / 1.608 GB, free: 3.219 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007047/1.049, allocations: 2.567 MB / 1.61 GB, free: 0.6445 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 1.241/2.291, allocations: 2.573 MB / 1.613 GB, free: 12.3 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.002817/2.294, allocations: 344.6 kB / 1.613 GB, free: 12.3 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/2.31, allocations: 3.721 MB / 1.617 GB, free: 12.3 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.005455/2.315, allocations: 1.424 MB / 1.618 GB, free: 12.3 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/2.326, allocations: 1.843 MB / 1.62 GB, free: 12.3 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02244/2.349, allocations: 5.776 MB / 1.626 GB, free: 11.98 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/2.349, allocations: 0.5625 kB / 1.626 GB, free: 11.98 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.076e-06/2.349, allocations: 2.062 kB / 1.626 GB, free: 11.98 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0003641/2.349, allocations: 0 / 1.626 GB, free: 11.98 MB / 1.295 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.02274/2.372, allocations: 3.853 MB / 1.629 GB, free: 10.54 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/2.372, allocations: 12.06 kB / 1.629 GB, free: 10.54 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01888/2.391, allocations: 1.882 MB / 1.631 GB, free: 10.36 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008574/2.399, allocations: 1.886 MB / 1.633 GB, free: 9.926 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004225/2.4, allocations: 219.9 kB / 1.633 GB, free: 9.918 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/2.402, allocations: 275.4 kB / 1.634 GB, free: 9.914 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/2.417, allocations: 4.397 MB / 1.638 GB, free: 9.781 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001008/2.417, allocations: 1.516 kB / 1.638 GB, free: 9.781 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006157/2.418, allocations: 110.4 kB / 1.638 GB, free: 9.781 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002738/2.418, allocations: 187.2 kB / 1.638 GB, free: 9.773 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01679/2.435, allocations: 6.379 MB / 1.644 GB, free: 9.742 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.03585/2.471, allocations: 13.13 MB / 1.657 GB, free: 21.43 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01248/2.483, allocations: 5.731 MB / 1.663 GB, free: 21.16 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007494/2.491, allocations: 2.891 MB / 1.666 GB, free: 21.12 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/2.491, allocations: 84.25 kB / 1.666 GB, free: 21.12 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/2.491, allocations: 74.02 kB / 1.666 GB, free: 21.07 MB / 1.311 GB Notification: Performance of pre-optimization done (n=399): time 1.024e-05/2.491, allocations: 0 / 1.666 GB, free: 21.07 MB / 1.311 GB Notification: Performance of matching and sorting (n=399): time 0.02272/2.514, allocations: 7.569 MB / 1.673 GB, free: 20.78 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.81e-05/2.514, allocations: 96.67 kB / 1.673 GB, free: 20.71 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/2.517, allocations: 1.295 MB / 1.674 GB, free: 20.53 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.00164/2.519, allocations: 92.61 kB / 1.675 GB, free: 20.5 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008028/2.519, allocations: 0.9682 MB / 1.675 GB, free: 20.01 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.002881/2.522, allocations: 1.407 MB / 1.677 GB, free: 19.08 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004552/2.527, allocations: 0.6636 MB / 1.678 GB, free: 19.04 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001764/2.527, allocations: 305.3 kB / 1.678 GB, free: 18.74 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006048/2.533, allocations: 2.433 MB / 1.68 GB, free: 18.73 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00685/2.54, allocations: 2.769 MB / 1.683 GB, free: 18.59 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/2.553, allocations: 5.301 MB / 1.688 GB, free: 18.39 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.524e-05/2.553, allocations: 3.453 kB / 1.688 GB, free: 18.39 MB / 1.311 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01957/2.573, allocations: 5.905 MB / 1.694 GB, free: 18.14 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.336e-05/2.573, allocations: 6.719 kB / 1.694 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/2.573, allocations: 5.734 kB / 1.694 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.635e-05/2.573, allocations: 18.44 kB / 1.694 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007449/2.58, allocations: 0.9168 MB / 1.695 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001164/2.581, allocations: 24.72 kB / 1.695 GB, free: 18.14 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00707/2.588, allocations: 424.9 kB / 1.695 GB, free: 17.96 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001821/2.589, allocations: 138.9 kB / 1.695 GB, free: 17.96 MB / 1.311 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.004773/2.594, allocations: 0.7511 MB / 1.696 GB, free: 17.84 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00214/2.596, allocations: 255.4 kB / 1.696 GB, free: 17.71 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/2.598, allocations: 419.8 kB / 1.697 GB, free: 17.67 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/2.598, allocations: 43.62 kB / 1.697 GB, free: 17.66 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.37e-05/2.598, allocations: 2.406 kB / 1.697 GB, free: 17.66 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01532/2.614, allocations: 5.116 MB / 1.702 GB, free: 16.9 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03933/2.653, allocations: 10.27 MB / 1.712 GB, free: 13.09 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/2.653, allocations: 0 / 1.712 GB, free: 13.09 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00667/2.66, allocations: 0.7963 MB / 1.713 GB, free: 13.07 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006389/2.66, allocations: 135.8 kB / 1.713 GB, free: 13.01 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001526/2.662, allocations: 98.45 kB / 1.713 GB, free: 12.96 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004764/2.667, allocations: 4.75 MB / 1.717 GB, free: 8.488 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/2.667, allocations: 0 / 1.717 GB, free: 8.488 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0288/2.696, allocations: 8.917 MB / 1.726 GB, free: 5.082 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005517/2.701, allocations: 0.7989 MB / 1.727 GB, free: 4.688 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002876/2.704, allocations: 70.38 kB / 1.727 GB, free: 4.637 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0063/2.71, allocations: 212.9 kB / 1.727 GB, free: 4.586 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001777/2.712, allocations: 226.2 kB / 1.727 GB, free: 4.559 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001515/2.714, allocations: 120.5 kB / 1.727 GB, free: 4.531 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002006/2.716, allocations: 0.8676 MB / 1.728 GB, free: 4.184 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.3e-07/2.716, allocations: 3.844 kB / 1.728 GB, free: 4.184 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.007413/2.723, allocations: 1.226 MB / 1.73 GB, free: 3.98 MB / 1.311 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.002111/2.725, allocations: 313.8 kB / 1.73 GB, free: 3.828 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.01564/2.741, allocations: 5.319 MB / 1.735 GB, free: 1.062 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/2.741, allocations: 4.906 kB / 1.735 GB, free: 1.059 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.009039/2.75, allocations: 2.968 MB / 1.738 GB, free: 14.12 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00982/2.76, allocations: 1.088 MB / 1.739 GB, free: 13.07 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02297/2.783, allocations: 7.872 MB / 1.747 GB, free: 5.188 MB / 1.326 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002956/2.785, allocations: 1.947 MB / 1.749 GB, free: 3.203 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005227/2.791, allocations: 315.3 kB / 1.749 GB, free: 2.898 MB / 1.326 GB Notification: Performance of SimCode: time 2.204e-06/2.791, allocations: 0 / 1.749 GB, free: 2.898 MB / 1.326 GB Notification: Performance of Templates: time 0.1198/2.911, allocations: 69.81 MB / 1.817 GB, free: 13.26 MB / 1.404 GB " [Timeout remaining time 297] 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/jenkins1/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: 24.350067427993054]