Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002252/0.002252, allocations: 190.9 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7646 GB, free: 9.855 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|rooA.T|rooB.T|rooA.Xi.1.|rooB.Xi.1.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 71.88 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7609, allocations: 168.8 MB / 1.274 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2383/0.9992, allocations: 205.4 MB / 1.475 GB, free: 6.133 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01113/1.01, allocations: 6.398 MB / 1.481 GB, free: 15.72 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/1.012, allocations: 51.62 kB / 1.481 GB, free: 15.67 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/1.014, allocations: 0.7694 MB / 1.482 GB, free: 14.89 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007885/1.022, allocations: 2.816 MB / 1.485 GB, free: 12.07 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.002965/1.025, allocations: 0.7476 MB / 1.485 GB, free: 11.32 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.005601/1.03, allocations: 3.367 MB / 1.489 GB, free: 7.945 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/1.032, allocations: 0.8208 MB / 1.489 GB, free: 7.102 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/1.035, allocations: 1.296 MB / 1.491 GB, free: 5.801 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003732/1.039, allocations: 1.174 MB / 1.492 GB, free: 4.629 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003422/1.039, allocations: 128 kB / 1.492 GB, free: 4.504 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005999/1.045, allocations: 2.556 MB / 1.495 GB, free: 1.941 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008682/1.046, allocations: 0.5297 MB / 1.495 GB, free: 1.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001278/1.047, allocations: 0.7391 MB / 1.496 GB, free: 0.668 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006371/1.054, allocations: 2.807 MB / 1.498 GB, free: 13.86 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/1.054, allocations: 0 / 1.498 GB, free: 13.86 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.863e-06/1.054, allocations: 0 / 1.498 GB, free: 13.86 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.198e-05/1.054, allocations: 0 / 1.498 GB, free: 13.86 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004982/1.059, allocations: 1.738 MB / 1.5 GB, free: 12.08 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.059, allocations: 15.98 kB / 1.5 GB, free: 12.06 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/1.061, allocations: 354.8 kB / 1.501 GB, free: 11.71 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002123/1.063, allocations: 0.8103 MB / 1.501 GB, free: 10.88 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/1.063, allocations: 74.02 kB / 1.501 GB, free: 10.8 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/1.064, allocations: 104 kB / 1.502 GB, free: 10.7 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002414/1.066, allocations: 1.199 MB / 1.503 GB, free: 9.469 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.066, allocations: 0 / 1.503 GB, free: 9.469 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/1.066, allocations: 43.98 kB / 1.503 GB, free: 9.426 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-05/1.066, allocations: 58.08 kB / 1.503 GB, free: 9.367 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00224/1.069, allocations: 1.25 MB / 1.504 GB, free: 8.109 MB / 1.201 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.007888/1.076, allocations: 5.042 MB / 1.509 GB, free: 2.609 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.078, allocations: 0.8375 MB / 1.51 GB, free: 1.766 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000815/1.079, allocations: 489.2 kB / 1.51 GB, free: 1.281 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 6.788e-05/1.079, allocations: 24.78 kB / 1.51 GB, free: 1.258 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008697/1.08, allocations: 484.2 kB / 1.511 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 3.407e-06/1.08, allocations: 4 kB / 1.511 GB, free: 0.7695 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.002391/1.082, allocations: 1.161 MB / 1.512 GB, free: 15.6 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/1.082, allocations: 60.06 kB / 1.512 GB, free: 15.53 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008498/1.083, allocations: 0.5783 MB / 1.512 GB, free: 14.95 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.929e-05/1.083, allocations: 41.7 kB / 1.512 GB, free: 14.9 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003937/1.084, allocations: 468.6 kB / 1.513 GB, free: 14.43 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/1.084, allocations: 281.6 kB / 1.513 GB, free: 14.16 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002352/1.084, allocations: 134.6 kB / 1.513 GB, free: 14.02 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002227/1.084, allocations: 386.8 kB / 1.514 GB, free: 13.63 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/1.085, allocations: 329.8 kB / 1.514 GB, free: 13.31 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/1.086, allocations: 444.8 kB / 1.514 GB, free: 12.84 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.087, allocations: 0.8272 MB / 1.515 GB, free: 11.97 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.087, allocations: 0 / 1.515 GB, free: 11.97 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001674/1.088, allocations: 0.938 MB / 1.516 GB, free: 11.03 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.088, allocations: 8 kB / 1.516 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.089, allocations: 3.938 kB / 1.516 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/1.089, allocations: 8 kB / 1.516 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/1.089, allocations: 159.7 kB / 1.516 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.581e-05/1.089, allocations: 8 kB / 1.516 GB, free: 10.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008288/1.09, allocations: 67.5 kB / 1.516 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.124e-05/1.09, allocations: 20 kB / 1.516 GB, free: 10.76 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0006307/1.091, allocations: 337.7 kB / 1.517 GB, free: 10.42 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/1.091, allocations: 83.47 kB / 1.517 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/1.091, allocations: 111.7 kB / 1.517 GB, free: 10.22 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/1.091, allocations: 8 kB / 1.517 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.091, allocations: 0 / 1.517 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/1.093, allocations: 1.093 MB / 1.518 GB, free: 9.039 MB / 1.217 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 postOpt removeSimpleEquations (simulation): time 0.003788/1.097, allocations: 2.282 MB / 1.52 GB, free: 6.668 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.097, allocations: 4.031 kB / 1.52 GB, free: 6.664 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/1.097, allocations: 171.8 kB / 1.52 GB, free: 6.496 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.097, allocations: 4 kB / 1.52 GB, free: 6.492 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/1.097, allocations: 20 kB / 1.52 GB, free: 6.473 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.097, allocations: 0 / 1.52 GB, free: 6.473 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.097, allocations: 4 kB / 1.52 GB, free: 6.469 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/1.1, allocations: 1.356 MB / 1.522 GB, free: 5.09 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005122/1.1, allocations: 175.3 kB / 1.522 GB, free: 4.918 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/1.1, allocations: 16 kB / 1.522 GB, free: 4.902 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000673/1.101, allocations: 30.17 kB / 1.522 GB, free: 4.875 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.101, allocations: 52.5 kB / 1.522 GB, free: 4.824 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/1.101, allocations: 24.11 kB / 1.522 GB, free: 4.801 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005765/1.102, allocations: 411.1 kB / 1.522 GB, free: 4.402 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.102, allocations: 4 kB / 1.522 GB, free: 4.398 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009949/1.103, allocations: 375.3 kB / 1.523 GB, free: 4.031 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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 Backend phase and start with SimCode phase: time 0.0003354/1.103, allocations: 175.1 kB / 1.523 GB, free: 3.852 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001407/1.104, allocations: 0.7551 MB / 1.524 GB, free: 3.098 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.104, allocations: 0 / 1.524 GB, free: 3.098 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006315/1.105, allocations: 411.5 kB / 1.524 GB, free: 2.695 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.108, allocations: 0.6019 MB / 1.525 GB, free: 2.105 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/1.112, allocations: 2.196 MB / 1.527 GB, free: 15.88 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000888/1.113, allocations: 1.136 MB / 1.528 GB, free: 14.71 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000997/1.114, allocations: 271.1 kB / 1.528 GB, free: 14.44 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/1.114, allocations: 71.44 kB / 1.528 GB, free: 14.38 MB / 1.232 GB Notification: Performance of SimCode: time 1.343e-06/1.114, allocations: 4 kB / 1.528 GB, free: 14.37 MB / 1.232 GB Notification: Performance of Templates: time 0.03743/1.151, allocations: 19.88 MB / 1.548 GB, free: 10.73 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ZonalFlow.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: 9.440510516054928]