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.00148/0.00148, allocations: 110.2 kB / 19.69 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.001852/0.001852, allocations: 210.6 kB / 23 MB, free: 4.57 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.626/1.626, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.372/3.372, allocations: 0.49 GB / 0.7958 GB, free: 33.47 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.00216/0.00216, allocations: 70.06 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4437, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2941/0.7378, allocations: 222.9 MB / 1.545 GB, free: 1.785 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03518/0.773, allocations: 20.64 MB / 1.565 GB, free: 13.08 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004166/0.7772, allocations: 75.44 kB / 1.565 GB, free: 13 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.005356/0.7825, allocations: 1.321 MB / 1.566 GB, free: 11.68 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01536/0.7979, allocations: 4.287 MB / 1.57 GB, free: 7.371 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.8032, allocations: 1.613 MB / 1.572 GB, free: 5.762 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.01168/0.8149, allocations: 7.107 MB / 1.579 GB, free: 14.64 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003989/0.8188, allocations: 1.818 MB / 1.581 GB, free: 12.77 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006424/0.8253, allocations: 2.567 MB / 1.583 GB, free: 10.2 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006243/0.8315, allocations: 2.57 MB / 1.586 GB, free: 7.625 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.001164/0.8327, allocations: 340 kB / 1.586 GB, free: 7.293 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009993/0.8427, allocations: 3.73 MB / 1.59 GB, free: 3.555 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002694/0.8454, allocations: 1.418 MB / 1.591 GB, free: 2.133 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.004053/0.8494, allocations: 1.84 MB / 1.593 GB, free: 292 kB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.8623, allocations: 5.758 MB / 1.599 GB, free: 10.51 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.8623, allocations: 0 / 1.599 GB, free: 10.51 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8623, allocations: 0 / 1.599 GB, free: 10.51 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001546/0.8624, allocations: 0 / 1.599 GB, free: 10.51 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.01172/0.8742, allocations: 3.853 MB / 1.602 GB, free: 6.602 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8742, allocations: 12.03 kB / 1.602 GB, free: 6.59 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.8794, allocations: 0.8526 MB / 1.603 GB, free: 5.734 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005122/0.8845, allocations: 1.774 MB / 1.605 GB, free: 3.91 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000197/0.8847, allocations: 201.4 kB / 1.605 GB, free: 3.711 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005873/0.8853, allocations: 275.9 kB / 1.605 GB, free: 3.441 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8617/1.747, allocations: 3.493 MB / 1.609 GB, free: 278.1 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001921/1.747, allocations: 4.875 kB / 1.609 GB, free: 278.1 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009836/1.748, allocations: 107.2 kB / 1.609 GB, free: 278.1 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003203/1.749, allocations: 187.8 kB / 1.609 GB, free: 278.1 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/1.764, allocations: 5.033 MB / 1.614 GB, free: 277.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.02442/1.788, allocations: 11.46 MB / 1.625 GB, free: 270.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007086/1.795, allocations: 4.52 MB / 1.63 GB, free: 268.7 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004012/1.799, allocations: 2.285 MB / 1.632 GB, free: 267.9 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008929/1.8, allocations: 201.9 kB / 1.632 GB, free: 267.9 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.873e-05/1.8, allocations: 77.77 kB / 1.632 GB, free: 267.8 MB / 1.295 GB Notification: Performance of pre-optimization done (n=399): time 6.081e-06/1.8, allocations: 0 / 1.632 GB, free: 267.8 MB / 1.295 GB Notification: Performance of matching and sorting (n=399): time 0.01119/1.811, allocations: 5.813 MB / 1.638 GB, free: 265.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.157e-05/1.812, allocations: 92.67 kB / 1.638 GB, free: 265.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/1.814, allocations: 1.281 MB / 1.639 GB, free: 265.1 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/1.814, allocations: 93.55 kB / 1.639 GB, free: 265.1 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006236/1.815, allocations: 0.9629 MB / 1.64 GB, free: 264.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.816, allocations: 1.408 MB / 1.642 GB, free: 263.5 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/1.817, allocations: 0.6399 MB / 1.642 GB, free: 263.2 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/1.817, allocations: 309.6 kB / 1.642 GB, free: 262.9 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/1.82, allocations: 1.752 MB / 1.644 GB, free: 262.3 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/1.822, allocations: 2.088 MB / 1.646 GB, free: 261.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004775/1.827, allocations: 4.072 MB / 1.65 GB, free: 259.2 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/1.827, allocations: 0 / 1.65 GB, free: 259.2 MB / 1.295 GB Notification: Performance of matching and sorting (n=493) (initialization): time 0.006163/1.833, allocations: 4.596 MB / 1.655 GB, free: 257 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/1.833, allocations: 6.719 kB / 1.655 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.833, allocations: 2.531 kB / 1.655 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.21e-05/1.833, allocations: 19.38 kB / 1.655 GB, free: 257 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/1.836, allocations: 0.7771 MB / 1.655 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.632e-05/1.836, allocations: 23.94 kB / 1.655 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/1.839, allocations: 313.8 kB / 1.656 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/1.839, allocations: 127.9 kB / 1.656 GB, free: 256 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.001329/1.84, allocations: 0.7415 MB / 1.657 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/1.841, allocations: 258.2 kB / 1.657 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006117/1.847, allocations: 4.625 MB / 1.661 GB, free: 250.4 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.119e-05/1.847, allocations: 36 kB / 1.661 GB, free: 250.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/1.847, allocations: 4 kB / 1.661 GB, free: 250.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004506/1.851, allocations: 3.962 MB / 1.665 GB, free: 246.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.862, allocations: 8.254 MB / 1.673 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.862, allocations: 0 / 1.673 GB, free: 238.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.865, allocations: 0.6592 MB / 1.674 GB, free: 237.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004174/1.865, allocations: 142.4 kB / 1.674 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/1.866, allocations: 83.97 kB / 1.674 GB, free: 237.2 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/1.868, allocations: 4.735 MB / 1.679 GB, free: 232.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.868, allocations: 6.359 kB / 1.679 GB, free: 232.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007985/1.876, allocations: 6.829 MB / 1.685 GB, free: 225.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001934/1.878, allocations: 0.7004 MB / 1.686 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003351/1.878, allocations: 68 kB / 1.686 GB, free: 224.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.88, allocations: 93.19 kB / 1.686 GB, free: 224.4 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/1.88, allocations: 236.3 kB / 1.687 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001809/1.881, allocations: 108 kB / 1.687 GB, free: 224 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0009622/1.882, allocations: 0.8645 MB / 1.687 GB, free: 223.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 7.1e-08/1.882, allocations: 2.156 kB / 1.687 GB, free: 223.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002266/1.884, allocations: 1.131 MB / 1.689 GB, free: 222.1 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.0005818/1.884, allocations: 336.6 kB / 1.689 GB, free: 221.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.005055/1.89, allocations: 4.027 MB / 1.693 GB, free: 217.7 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.89, allocations: 6.781 kB / 1.693 GB, free: 217.7 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/1.892, allocations: 2.358 MB / 1.695 GB, free: 215.3 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/1.896, allocations: 1.074 MB / 1.696 GB, free: 214.3 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008532/1.905, allocations: 6.83 MB / 1.703 GB, free: 207.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.906, allocations: 1.939 MB / 1.705 GB, free: 205.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.907, allocations: 287.4 kB / 1.705 GB, free: 205.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.563e-06/1.907, allocations: 0 / 1.705 GB, free: 205.2 MB / 1.295 GB Notification: Performance of Templates: time 0.07159/1.979, allocations: 59.86 MB / 1.764 GB, free: 145.5 MB / 1.295 GB " [Timeout remaining time 298] 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/jenkins1/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: 22.226572365005268]