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.001875/0.001875, allocations: 108.8 kB / 16.45 MB, free: 6.453 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.002056/0.002056, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.639/1.639, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.548/3.548, allocations: 0.49 GB / 0.7915 GB, free: 33.43 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.002724/0.002724, allocations: 64.78 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5544/0.5572, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.3039/0.861, allocations: 222.4 MB / 1.538 GB, free: 3.566 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03695/0.898, allocations: 20.57 MB / 1.559 GB, free: 14.94 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004266/0.9022, allocations: 75.44 kB / 1.559 GB, free: 14.86 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00478/0.907, allocations: 1.317 MB / 1.56 GB, free: 13.54 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.0203/0.9273, allocations: 4.204 MB / 1.564 GB, free: 9.32 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007758/0.9351, allocations: 1.563 MB / 1.566 GB, free: 7.758 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01459/0.9497, allocations: 6.978 MB / 1.572 GB, free: 0.7617 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005855/0.9555, allocations: 2.013 MB / 1.574 GB, free: 14.7 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009963/0.9655, allocations: 2.563 MB / 1.577 GB, free: 12.13 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008846/0.9743, allocations: 2.563 MB / 1.579 GB, free: 9.566 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002423/0.9767, allocations: 344 kB / 1.58 GB, free: 9.23 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01359/0.9903, allocations: 3.675 MB / 1.583 GB, free: 5.547 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.004726/0.9951, allocations: 1.414 MB / 1.585 GB, free: 4.129 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.008141/1.003, allocations: 1.84 MB / 1.586 GB, free: 2.281 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.02212/1.025, allocations: 5.766 MB / 1.592 GB, free: 12.5 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.093e-05/1.025, allocations: 0 / 1.592 GB, free: 12.5 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.864e-06/1.025, allocations: 0 / 1.592 GB, free: 12.5 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002682/1.026, allocations: 0 / 1.592 GB, free: 12.5 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.02571/1.051, allocations: 3.924 MB / 1.596 GB, free: 8.5 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 7.828e-05/1.051, allocations: 11.98 kB / 1.596 GB, free: 8.488 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/1.063, allocations: 0.8526 MB / 1.597 GB, free: 7.633 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009678/1.072, allocations: 1.842 MB / 1.599 GB, free: 5.73 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/1.073, allocations: 201.4 kB / 1.599 GB, free: 5.531 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001764/1.074, allocations: 279.9 kB / 1.599 GB, free: 5.258 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/1.089, allocations: 3.493 MB / 1.602 GB, free: 1.727 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.576e-05/1.089, allocations: 4 kB / 1.602 GB, free: 1.723 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005489/1.089, allocations: 112 kB / 1.602 GB, free: 1.613 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004/1.09, allocations: 189.8 kB / 1.603 GB, free: 1.426 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.316/2.406, allocations: 5.033 MB / 1.608 GB, free: 279.7 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.03445/2.44, allocations: 11.53 MB / 1.619 GB, free: 273.2 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/2.454, allocations: 4.535 MB / 1.623 GB, free: 271 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007572/2.461, allocations: 2.285 MB / 1.626 GB, free: 270.2 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/2.463, allocations: 0.8601 MB / 1.626 GB, free: 269.4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/2.463, allocations: 77.72 kB / 1.626 GB, free: 269.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 1.733e-05/2.463, allocations: 3.031 kB / 1.626 GB, free: 269.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.02177/2.485, allocations: 6.033 MB / 1.632 GB, free: 266.9 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/2.485, allocations: 93.45 kB / 1.632 GB, free: 266.8 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00366/2.489, allocations: 1.288 MB / 1.634 GB, free: 266.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/2.49, allocations: 96.28 kB / 1.634 GB, free: 266.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009821/2.491, allocations: 0.958 MB / 1.635 GB, free: 265.6 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.002602/2.494, allocations: 1.41 MB / 1.636 GB, free: 264.7 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002778/2.496, allocations: 0.6382 MB / 1.637 GB, free: 264.4 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.941e-05/2.496, allocations: 306.5 kB / 1.637 GB, free: 264.1 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004007/2.5, allocations: 1.754 MB / 1.639 GB, free: 263.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004287/2.505, allocations: 2.089 MB / 1.641 GB, free: 262.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006845/2.512, allocations: 4.069 MB / 1.645 GB, free: 260.6 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.965e-05/2.512, allocations: 3.594 kB / 1.645 GB, free: 260.6 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.01028/2.522, allocations: 4.603 MB / 1.649 GB, free: 258.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/2.522, allocations: 8.062 kB / 1.649 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/2.522, allocations: 0 / 1.649 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.397e-05/2.522, allocations: 20.97 kB / 1.649 GB, free: 258.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/2.526, allocations: 0.7778 MB / 1.65 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.591e-05/2.526, allocations: 16 kB / 1.65 GB, free: 257.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/2.53, allocations: 308 kB / 1.65 GB, free: 257.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006323/2.531, allocations: 128 kB / 1.65 GB, free: 257.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.002716/2.533, allocations: 0.7532 MB / 1.651 GB, free: 256.6 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001367/2.535, allocations: 250.5 kB / 1.651 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009424/2.544, allocations: 4.629 MB / 1.656 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/2.544, allocations: 40 kB / 1.656 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.496e-05/2.544, allocations: 3.984 kB / 1.656 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005972/2.55, allocations: 3.95 MB / 1.66 GB, free: 247.7 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01704/2.567, allocations: 8.287 MB / 1.668 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/2.567, allocations: 0 / 1.668 GB, free: 239.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/2.57, allocations: 0.6559 MB / 1.669 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005778/2.571, allocations: 141.5 kB / 1.669 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006065/2.571, allocations: 83.97 kB / 1.669 GB, free: 238.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003547/2.575, allocations: 5.037 MB / 1.674 GB, free: 233.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/2.575, allocations: 0 / 1.674 GB, free: 233.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0121/2.587, allocations: 6.832 MB / 1.68 GB, free: 226.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002368/2.59, allocations: 0.7732 MB / 1.681 GB, free: 225.4 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009449/2.59, allocations: 68 kB / 1.681 GB, free: 225.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003006/2.593, allocations: 90.67 kB / 1.681 GB, free: 225.2 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006257/2.594, allocations: 224.4 kB / 1.681 GB, free: 225 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00032/2.594, allocations: 108 kB / 1.682 GB, free: 224.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001394/2.596, allocations: 0.8645 MB / 1.682 GB, free: 224.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.596, allocations: 2.219 kB / 1.682 GB, free: 224.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004309/2.6, allocations: 1.128 MB / 1.684 GB, free: 222.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.0009333/2.601, allocations: 339.9 kB / 1.684 GB, free: 222.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.007665/2.609, allocations: 4.025 MB / 1.688 GB, free: 218.6 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/2.609, allocations: 7.938 kB / 1.688 GB, free: 218.6 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003794/2.613, allocations: 2.356 MB / 1.69 GB, free: 216.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006663/2.619, allocations: 1.079 MB / 1.691 GB, free: 215.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/2.631, allocations: 6.697 MB / 1.698 GB, free: 208.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/2.633, allocations: 1.935 MB / 1.7 GB, free: 206.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.005853/2.639, allocations: 1.318 MB / 1.701 GB, free: 205.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/2.641, allocations: 243.4 kB / 1.701 GB, free: 205 MB / 1.295 GB Notification: Performance of SimCode: time 2.635e-06/2.641, allocations: 0 / 1.701 GB, free: 205 MB / 1.295 GB Notification: Performance of Templates: time 0.07835/2.719, allocations: 49.2 MB / 1.749 GB, free: 156.3 MB / 1.295 GB " [Timeout remaining time 297] 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: 17.090773618780077]