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.001968/0.001968, 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.002132/0.002132, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.648/1.648, allocations: 230.6 MB / 256 MB, free: 7.805 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.715/3.715, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 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.002348/0.002348, allocations: 70.16 kB / 1.186 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.517, allocations: 181.9 MB / 1.364 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2736/0.7907, allocations: 193.5 MB / 1.553 GB, free: 11.55 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04067/0.8314, allocations: 18.9 MB / 1.571 GB, free: 8.598 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004306/0.8357, allocations: 75.44 kB / 1.571 GB, free: 8.523 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004372/0.84, allocations: 1.185 MB / 1.572 GB, free: 7.332 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.8558, allocations: 4.265 MB / 1.577 GB, free: 3.051 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.006367/0.8622, allocations: 1.568 MB / 1.578 GB, free: 1.484 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01195/0.8741, allocations: 7.069 MB / 1.585 GB, free: 10.39 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005323/0.8794, allocations: 1.802 MB / 1.587 GB, free: 8.547 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.8903, allocations: 2.598 MB / 1.589 GB, free: 5.941 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01004/0.9004, allocations: 2.463 MB / 1.592 GB, free: 3.477 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002204/0.9026, allocations: 344 kB / 1.592 GB, free: 3.141 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01458/0.9172, allocations: 2.883 MB / 1.595 GB, free: 256 kB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.005128/0.9223, allocations: 1.418 MB / 1.596 GB, free: 14.82 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.007246/0.9295, allocations: 1.572 MB / 1.598 GB, free: 13.25 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01912/0.9486, allocations: 5.684 MB / 1.603 GB, free: 7.547 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.9487, allocations: 0 / 1.603 GB, free: 7.547 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9487, allocations: 0 / 1.603 GB, free: 7.547 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0003562/0.949, allocations: 0 / 1.603 GB, free: 7.547 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.01717/0.9662, allocations: 3.857 MB / 1.607 GB, free: 3.637 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.9662, allocations: 8.031 kB / 1.607 GB, free: 3.629 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01632/0.9826, allocations: 1.882 MB / 1.609 GB, free: 1.742 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.177/2.159, allocations: 1.888 MB / 1.611 GB, free: 244.7 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005065/2.16, allocations: 224.2 kB / 1.611 GB, free: 244.7 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00179/2.161, allocations: 264.3 kB / 1.611 GB, free: 244.7 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/2.177, allocations: 4.773 MB / 1.616 GB, free: 243.3 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-05/2.177, allocations: 10.98 kB / 1.616 GB, free: 243.3 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/2.178, allocations: 113.5 kB / 1.616 GB, free: 243.2 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/2.178, allocations: 188.1 kB / 1.616 GB, free: 243.2 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01927/2.197, allocations: 6.283 MB / 1.622 GB, free: 241.4 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.04225/2.24, allocations: 9.109 MB / 1.631 GB, free: 237.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01627/2.256, allocations: 5.726 MB / 1.637 GB, free: 235.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009142/2.265, allocations: 2.887 MB / 1.64 GB, free: 234.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/2.266, allocations: 61.3 kB / 1.64 GB, free: 234.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/2.266, allocations: 77.23 kB / 1.64 GB, free: 234.2 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 1.627e-05/2.266, allocations: 0 / 1.64 GB, free: 234.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.02838/2.294, allocations: 7.569 MB / 1.647 GB, free: 231.6 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/2.294, allocations: 97.61 kB / 1.647 GB, free: 231.5 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/2.298, allocations: 1.294 MB / 1.649 GB, free: 231 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001514/2.299, allocations: 96.83 kB / 1.649 GB, free: 230.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008774/2.3, allocations: 0.9609 MB / 1.65 GB, free: 230.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002914/2.303, allocations: 1.406 MB / 1.651 GB, free: 229.3 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004951/2.308, allocations: 0.6694 MB / 1.652 GB, free: 229 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001138/2.308, allocations: 302.3 kB / 1.652 GB, free: 228.8 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006986/2.315, allocations: 2.432 MB / 1.654 GB, free: 227.9 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006695/2.322, allocations: 2.766 MB / 1.657 GB, free: 226.5 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/2.334, allocations: 5.317 MB / 1.662 GB, free: 222 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-05/2.334, allocations: 0 / 1.662 GB, free: 222 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01768/2.352, allocations: 5.898 MB / 1.668 GB, free: 216.1 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/2.352, allocations: 10.97 kB / 1.668 GB, free: 216.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/2.352, allocations: 4 kB / 1.668 GB, free: 216.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.948e-05/2.352, allocations: 20 kB / 1.668 GB, free: 216.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006696/2.359, allocations: 0.9197 MB / 1.669 GB, free: 215.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-05/2.359, allocations: 23.94 kB / 1.669 GB, free: 215.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006359/2.365, allocations: 427.2 kB / 1.669 GB, free: 214.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001548/2.367, allocations: 136 kB / 1.669 GB, free: 214.6 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.004085/2.371, allocations: 0.7445 MB / 1.67 GB, free: 213.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/2.372, allocations: 246.5 kB / 1.67 GB, free: 213.6 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/2.374, allocations: 418.1 kB / 1.671 GB, free: 213.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.39e-05/2.374, allocations: 45.92 kB / 1.671 GB, free: 213.1 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.401e-05/2.374, allocations: 5.438 kB / 1.671 GB, free: 213.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01253/2.387, allocations: 5.111 MB / 1.676 GB, free: 208 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02745/2.414, allocations: 9.172 MB / 1.685 GB, free: 198.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/2.414, allocations: 0 / 1.685 GB, free: 198.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005934/2.42, allocations: 0.7955 MB / 1.686 GB, free: 198.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005961/2.421, allocations: 138.4 kB / 1.686 GB, free: 197.9 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001206/2.422, allocations: 95.94 kB / 1.686 GB, free: 197.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003119/2.425, allocations: 4.671 MB / 1.69 GB, free: 192.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/2.425, allocations: 0 / 1.69 GB, free: 192.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01923/2.444, allocations: 8.903 MB / 1.699 GB, free: 183.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003507/2.448, allocations: 0.8053 MB / 1.7 GB, free: 183.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001247/2.449, allocations: 68 kB / 1.7 GB, free: 183.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004866/2.454, allocations: 220.5 kB / 1.7 GB, free: 182.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001027/2.455, allocations: 228.6 kB / 1.7 GB, free: 182.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007645/2.456, allocations: 119.9 kB / 1.7 GB, free: 182.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001529/2.457, allocations: 0.8563 MB / 1.701 GB, free: 181.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.457, allocations: 0 / 1.701 GB, free: 181.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004784/2.462, allocations: 1.222 MB / 1.703 GB, free: 180.4 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.0013/2.463, allocations: 310.6 kB / 1.703 GB, free: 180.1 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01231/2.476, allocations: 5.318 MB / 1.708 GB, free: 174.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.476, allocations: 7.938 kB / 1.708 GB, free: 174.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.007733/2.483, allocations: 2.97 MB / 1.711 GB, free: 171.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00832/2.492, allocations: 1.062 MB / 1.712 GB, free: 170.8 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/2.508, allocations: 7.716 MB / 1.719 GB, free: 163 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/2.51, allocations: 1.37 MB / 1.721 GB, free: 161.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007428/2.518, allocations: 1.525 MB / 1.722 GB, free: 160.1 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0029/2.521, allocations: 267.3 kB / 1.723 GB, free: 159.8 MB / 1.295 GB Notification: Performance of SimCode: time 2.024e-06/2.521, allocations: 0 / 1.723 GB, free: 159.8 MB / 1.295 GB Notification: Performance of Templates: time 0.08828/2.609, allocations: 67.29 MB / 1.788 GB, free: 93.54 MB / 1.295 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/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: 20.880521655082703]