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.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.001843/0.001843, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.002158/0.002158, allocations: 162 kB / 23.01 MB, free: 4.949 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.449/1.449, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.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.627/2.627, allocations: 359.1 MB / 0.6044 GB, free: 14.81 MB / 0.5762 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.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.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: 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.002323/0.002323, allocations: 71.89 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2981, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.7113/1.009, allocations: 180.8 MB / 1.294 GB, free: 6.27 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01094/1.02, allocations: 5.987 MB / 1.3 GB, free: 2.195 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/1.022, allocations: 49.47 kB / 1.3 GB, free: 2.172 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/1.024, allocations: 0.6835 MB / 1.301 GB, free: 1.82 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.007583/1.031, allocations: 2.808 MB / 1.303 GB, free: 340 kB / 1.139 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.00214/1.033, allocations: 0.7282 MB / 1.304 GB, free: 15.93 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004714/1.038, allocations: 3.32 MB / 1.307 GB, free: 14.4 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/1.039, allocations: 0.7991 MB / 1.308 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002563/1.042, allocations: 1.323 MB / 1.309 GB, free: 13.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002322/1.044, allocations: 1.132 MB / 1.31 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001896/1.045, allocations: 128.4 kB / 1.311 GB, free: 12.85 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004372/1.049, allocations: 1.915 MB / 1.312 GB, free: 11.8 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006638/1.05, allocations: 0.5308 MB / 1.313 GB, free: 11.44 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008793/1.05, allocations: 0.6219 MB / 1.314 GB, free: 11.1 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00486/1.055, allocations: 2.733 MB / 1.316 GB, free: 9.418 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.055, allocations: 0 / 1.316 GB, free: 9.418 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.834e-06/1.055, allocations: 0 / 1.316 GB, free: 9.418 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.343e-05/1.055, allocations: 0 / 1.316 GB, free: 9.418 MB / 1.154 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.004494/1.06, allocations: 1.732 MB / 1.318 GB, free: 8.203 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.06, allocations: 9.531 kB / 1.318 GB, free: 8.203 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002301/1.062, allocations: 364.6 kB / 1.318 GB, free: 8.035 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/1.064, allocations: 0.8154 MB / 1.319 GB, free: 7.449 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/1.064, allocations: 74.05 kB / 1.319 GB, free: 7.414 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/1.064, allocations: 95.03 kB / 1.319 GB, free: 7.387 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/1.066, allocations: 1.395 MB / 1.321 GB, free: 6.441 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/1.066, allocations: 2.906 kB / 1.321 GB, free: 6.441 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.066, allocations: 43.91 kB / 1.321 GB, free: 6.406 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/1.066, allocations: 61.48 kB / 1.321 GB, free: 6.391 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/1.068, allocations: 1.244 MB / 1.322 GB, free: 5.766 MB / 1.154 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.005845/1.074, allocations: 2.97 MB / 1.325 GB, free: 3.574 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/1.075, allocations: 0.8224 MB / 1.326 GB, free: 2.746 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/1.076, allocations: 489.6 kB / 1.326 GB, free: 2.258 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/1.076, allocations: 8.656 kB / 1.326 GB, free: 2.25 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009124/1.077, allocations: 0.6853 MB / 1.327 GB, free: 1.508 MB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.705e-06/1.077, allocations: 0 / 1.327 GB, free: 1.508 MB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.00216/1.079, allocations: 1.153 MB / 1.328 GB, free: 356 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/1.079, allocations: 64 kB / 1.328 GB, free: 280 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006975/1.08, allocations: 0.5029 MB / 1.328 GB, free: 15.76 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.228e-05/1.08, allocations: 41.7 kB / 1.328 GB, free: 15.71 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/1.081, allocations: 480.5 kB / 1.329 GB, free: 15.24 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/1.081, allocations: 281.7 kB / 1.329 GB, free: 14.96 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/1.081, allocations: 134.6 kB / 1.329 GB, free: 14.82 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002178/1.081, allocations: 382.8 kB / 1.33 GB, free: 14.44 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005366/1.082, allocations: 329.8 kB / 1.33 GB, free: 14.12 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006361/1.082, allocations: 452.7 kB / 1.33 GB, free: 13.64 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/1.084, allocations: 0.8272 MB / 1.331 GB, free: 12.77 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.084, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001531/1.085, allocations: 0.93 MB / 1.332 GB, free: 11.84 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.085, allocations: 10.34 kB / 1.332 GB, free: 11.83 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.085, allocations: 7.984 kB / 1.332 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.085, allocations: 4.344 kB / 1.332 GB, free: 11.82 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/1.086, allocations: 157.8 kB / 1.332 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/1.086, allocations: 11.88 kB / 1.332 GB, free: 11.65 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008186/1.087, allocations: 59.55 kB / 1.332 GB, free: 11.59 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/1.087, allocations: 24 kB / 1.332 GB, free: 11.57 MB / 1.17 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.0005585/1.088, allocations: 334.9 kB / 1.333 GB, free: 11.23 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/1.088, allocations: 79.53 kB / 1.333 GB, free: 11.16 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000215/1.088, allocations: 103.2 kB / 1.333 GB, free: 11.05 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/1.088, allocations: 8 kB / 1.333 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/1.088, allocations: 3.938 kB / 1.333 GB, free: 11.04 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/1.089, allocations: 1.093 MB / 1.334 GB, free: 9.859 MB / 1.17 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.003393/1.093, allocations: 1.894 MB / 1.336 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/1.093, allocations: 0 / 1.336 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009147/1.094, allocations: 171.8 kB / 1.336 GB, free: 7.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/1.094, allocations: 4 kB / 1.336 GB, free: 7.746 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/1.094, allocations: 23.98 kB / 1.336 GB, free: 7.723 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.094, allocations: 0 / 1.336 GB, free: 7.723 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.094, allocations: 11.16 kB / 1.336 GB, free: 7.715 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/1.096, allocations: 1.356 MB / 1.337 GB, free: 6.34 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/1.096, allocations: 171.3 kB / 1.338 GB, free: 6.172 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.864e-05/1.096, allocations: 16 kB / 1.338 GB, free: 6.156 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/1.097, allocations: 23.98 kB / 1.338 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/1.097, allocations: 44.56 kB / 1.338 GB, free: 6.09 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/1.097, allocations: 20 kB / 1.338 GB, free: 6.07 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0004728/1.098, allocations: 362.8 kB / 1.338 GB, free: 5.719 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/1.098, allocations: 0 / 1.338 GB, free: 5.719 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001041/1.099, allocations: 375.2 kB / 1.338 GB, free: 5.352 MB / 1.17 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.0002758/1.099, allocations: 175.8 kB / 1.339 GB, free: 5.176 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001303/1.1, allocations: 0.7707 MB / 1.339 GB, free: 4.406 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.1, allocations: 0 / 1.339 GB, free: 4.406 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/1.101, allocations: 411.5 kB / 1.34 GB, free: 4.004 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/1.103, allocations: 0.5371 MB / 1.34 GB, free: 3.504 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/1.107, allocations: 2.18 MB / 1.342 GB, free: 1.293 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006573/1.108, allocations: 0.5425 MB / 1.343 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008959/1.109, allocations: 264.1 kB / 1.343 GB, free: 464 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/1.109, allocations: 76.48 kB / 1.343 GB, free: 388 kB / 1.17 GB Notification: Performance of SimCode: time 8.81e-07/1.109, allocations: 0 / 1.343 GB, free: 388 kB / 1.17 GB Notification: Performance of Templates: time 0.03343/1.142, allocations: 18.5 MB / 1.361 GB, free: 14.32 MB / 1.201 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 -s ida -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/jenkins1/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.239937345031649]