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.001628/0.001628, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.00207/0.00207, allocations: 215.1 kB / 22.3 MB, free: 5.281 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.531/1.531, allocations: 230.6 MB / 256.1 MB, free: 7.797 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.339/3.339, allocations: 0.5107 GB / 0.8159 GB, free: 17.69 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.00214/0.00214, allocations: 69.66 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5277/0.5299, allocations: 181.9 MB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.3083/0.8382, allocations: 193.5 MB / 1.553 GB, free: 11.18 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03282/0.871, allocations: 18.91 MB / 1.571 GB, free: 8.215 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00377/0.8748, allocations: 75.44 kB / 1.572 GB, free: 8.141 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.004114/0.8789, allocations: 1.185 MB / 1.573 GB, free: 6.949 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01396/0.8928, allocations: 4.269 MB / 1.577 GB, free: 2.664 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005479/0.8983, allocations: 1.561 MB / 1.578 GB, free: 1.105 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01183/0.9102, allocations: 7.076 MB / 1.585 GB, free: 10 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004041/0.9142, allocations: 1.806 MB / 1.587 GB, free: 8.152 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00694/0.9211, allocations: 2.605 MB / 1.59 GB, free: 5.539 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006649/0.9278, allocations: 2.46 MB / 1.592 GB, free: 3.082 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/0.9288, allocations: 348 kB / 1.592 GB, free: 2.742 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008959/0.9378, allocations: 2.872 MB / 1.595 GB, free: 15.86 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002517/0.9403, allocations: 1.422 MB / 1.596 GB, free: 14.44 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003569/0.9439, allocations: 1.568 MB / 1.598 GB, free: 12.86 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.957, allocations: 5.688 MB / 1.604 GB, free: 7.156 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.957, allocations: 0 / 1.604 GB, free: 7.156 MB / 1.295 GB Notification: Performance of FrontEnd: time 4.248e-06/0.957, allocations: 3.984 kB / 1.604 GB, free: 7.152 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.000147/0.9572, allocations: 0 / 1.604 GB, free: 7.152 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.01206/0.9692, allocations: 3.857 MB / 1.607 GB, free: 3.242 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.9693, allocations: 8.031 kB / 1.607 GB, free: 3.234 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.9851, allocations: 1.898 MB / 1.609 GB, free: 1.332 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9164/1.901, allocations: 1.877 MB / 1.611 GB, free: 244.6 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004134/1.902, allocations: 226.1 kB / 1.611 GB, free: 244.6 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001256/1.903, allocations: 269.8 kB / 1.612 GB, free: 244.6 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01242/1.916, allocations: 4.772 MB / 1.616 GB, free: 243.1 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.148e-05/1.916, allocations: 12.92 kB / 1.616 GB, free: 243.1 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000457/1.916, allocations: 107.6 kB / 1.616 GB, free: 243 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003288/1.916, allocations: 188.8 kB / 1.616 GB, free: 243 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01684/1.933, allocations: 6.284 MB / 1.623 GB, free: 241.2 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.03011/1.963, allocations: 9.122 MB / 1.632 GB, free: 237.6 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/1.977, allocations: 5.735 MB / 1.637 GB, free: 235.1 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007539/1.985, allocations: 2.889 MB / 1.64 GB, free: 234.1 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005078/1.985, allocations: 65.23 kB / 1.64 GB, free: 234.1 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001071/1.985, allocations: 78.17 kB / 1.64 GB, free: 234 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 1.18e-05/1.985, allocations: 0 / 1.64 GB, free: 234 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.02149/2.007, allocations: 7.56 MB / 1.647 GB, free: 231.4 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/2.007, allocations: 99.06 kB / 1.648 GB, free: 231.3 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/2.01, allocations: 1.296 MB / 1.649 GB, free: 230.8 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009895/2.011, allocations: 92.77 kB / 1.649 GB, free: 230.7 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007396/2.011, allocations: 0.9632 MB / 1.65 GB, free: 230.1 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002007/2.013, allocations: 1.41 MB / 1.651 GB, free: 229.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003051/2.016, allocations: 0.669 MB / 1.652 GB, free: 228.8 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/2.016, allocations: 302.2 kB / 1.652 GB, free: 228.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/2.022, allocations: 2.434 MB / 1.655 GB, free: 227.7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005024/2.027, allocations: 2.767 MB / 1.657 GB, free: 226.2 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009799/2.036, allocations: 5.309 MB / 1.662 GB, free: 221.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/2.036, allocations: 0 / 1.662 GB, free: 221.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01213/2.049, allocations: 5.904 MB / 1.668 GB, free: 215.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/2.049, allocations: 8 kB / 1.668 GB, free: 215.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.139e-05/2.049, allocations: 4 kB / 1.668 GB, free: 215.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.026e-05/2.049, allocations: 20 kB / 1.668 GB, free: 215.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005724/2.054, allocations: 0.9195 MB / 1.669 GB, free: 214.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.11e-05/2.054, allocations: 20 kB / 1.669 GB, free: 214.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005209/2.06, allocations: 425.6 kB / 1.67 GB, free: 214.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/2.061, allocations: 136 kB / 1.67 GB, free: 214 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.002641/2.063, allocations: 0.7519 MB / 1.67 GB, free: 213.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001342/2.065, allocations: 250.5 kB / 1.671 GB, free: 213 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/2.066, allocations: 415.9 kB / 1.671 GB, free: 212.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/2.066, allocations: 43.94 kB / 1.671 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.73e-05/2.066, allocations: 0 / 1.671 GB, free: 212.5 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01015/2.076, allocations: 5.107 MB / 1.676 GB, free: 207.4 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01902/2.095, allocations: 9.173 MB / 1.685 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/2.095, allocations: 4 kB / 1.685 GB, free: 198.2 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005358/2.101, allocations: 0.7915 MB / 1.686 GB, free: 197.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/2.101, allocations: 138.4 kB / 1.686 GB, free: 197.3 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007765/2.102, allocations: 95.94 kB / 1.686 GB, free: 197.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003032/2.105, allocations: 4.668 MB / 1.691 GB, free: 192.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/2.105, allocations: 4 kB / 1.691 GB, free: 192.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/2.122, allocations: 8.915 MB / 1.699 GB, free: 183.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002643/2.125, allocations: 0.8019 MB / 1.7 GB, free: 182.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/2.126, allocations: 64 kB / 1.7 GB, free: 182.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00453/2.13, allocations: 219 kB / 1.7 GB, free: 182.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009345/2.131, allocations: 230.7 kB / 1.701 GB, free: 182 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006866/2.132, allocations: 115.9 kB / 1.701 GB, free: 181.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00148/2.134, allocations: 0.8563 MB / 1.702 GB, free: 181 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/2.134, allocations: 3.938 kB / 1.702 GB, free: 181 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004226/2.138, allocations: 1.221 MB / 1.703 GB, free: 179.8 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.001069/2.139, allocations: 308 kB / 1.703 GB, free: 179.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01047/2.149, allocations: 5.318 MB / 1.708 GB, free: 174.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/2.149, allocations: 0 / 1.708 GB, free: 174.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.005858/2.155, allocations: 2.97 MB / 1.711 GB, free: 171.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00653/2.162, allocations: 1.064 MB / 1.712 GB, free: 170.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01463/2.176, allocations: 7.702 MB / 1.72 GB, free: 162.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/2.178, allocations: 1.37 MB / 1.721 GB, free: 161 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.007116/2.185, allocations: 1.529 MB / 1.723 GB, free: 159.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002535/2.188, allocations: 256.4 kB / 1.723 GB, free: 159.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.583e-06/2.188, allocations: 0 / 1.723 GB, free: 159.2 MB / 1.295 GB Notification: Performance of Templates: time 0.07899/2.267, allocations: 62.81 MB / 1.784 GB, free: 97.41 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: 19.640488300472498]