Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001615/0.001615, allocations: 79.03 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.001749/0.001749, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.776/2.776, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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.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_12_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_12_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.002326/0.002326, allocations: 64.14 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.8019, allocations: 176.1 MB / 1.154 GB, free: 33.36 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2126/1.014, allocations: 180.8 MB / 1.331 GB, free: 3.848 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01033/1.025, allocations: 6.008 MB / 1.336 GB, free: 13.83 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/1.026, allocations: 51.62 kB / 1.336 GB, free: 13.78 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.002034/1.028, allocations: 0.6954 MB / 1.337 GB, free: 13.08 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/1.035, allocations: 2.805 MB / 1.34 GB, free: 10.26 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.0021/1.037, allocations: 0.7225 MB / 1.341 GB, free: 9.543 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004509/1.042, allocations: 3.332 MB / 1.344 GB, free: 6.199 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/1.043, allocations: 0.8091 MB / 1.345 GB, free: 5.367 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/1.046, allocations: 1.441 MB / 1.346 GB, free: 3.922 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/1.048, allocations: 1.105 MB / 1.347 GB, free: 2.82 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002079/1.048, allocations: 128 kB / 1.347 GB, free: 2.695 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004049/1.052, allocations: 1.913 MB / 1.349 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000618/1.053, allocations: 0.5297 MB / 1.35 GB, free: 252 kB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008553/1.054, allocations: 0.6227 MB / 1.35 GB, free: 15.62 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004153/1.058, allocations: 2.729 MB / 1.353 GB, free: 12.89 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/1.058, allocations: 0 / 1.353 GB, free: 12.89 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.453e-06/1.058, allocations: 0 / 1.353 GB, free: 12.89 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.044e-05/1.058, allocations: 0 / 1.353 GB, free: 12.89 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.004071/1.062, allocations: 1.742 MB / 1.355 GB, free: 11.11 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/1.062, allocations: 8.031 kB / 1.355 GB, free: 11.1 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/1.064, allocations: 354.8 kB / 1.355 GB, free: 10.75 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/1.066, allocations: 0.8143 MB / 1.356 GB, free: 9.906 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/1.066, allocations: 70.02 kB / 1.356 GB, free: 9.836 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/1.066, allocations: 103.9 kB / 1.356 GB, free: 9.734 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/1.068, allocations: 1.392 MB / 1.357 GB, free: 8.262 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/1.068, allocations: 3.938 kB / 1.357 GB, free: 8.258 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.068, allocations: 47.98 kB / 1.357 GB, free: 8.211 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/1.069, allocations: 62.06 kB / 1.357 GB, free: 8.148 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/1.071, allocations: 1.234 MB / 1.359 GB, free: 6.906 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.005565/1.076, allocations: 2.969 MB / 1.361 GB, free: 3.891 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/1.078, allocations: 0.827 MB / 1.362 GB, free: 3.055 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/1.078, allocations: 490.2 kB / 1.363 GB, free: 2.574 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 5.545e-05/1.078, allocations: 16.58 kB / 1.363 GB, free: 2.559 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008837/1.079, allocations: 0.6776 MB / 1.363 GB, free: 1.82 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 3.115e-06/1.079, allocations: 0 / 1.363 GB, free: 1.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.002051/1.081, allocations: 1.157 MB / 1.365 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/1.081, allocations: 60.06 kB / 1.365 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006306/1.082, allocations: 0.5068 MB / 1.365 GB, free: 72 kB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/1.082, allocations: 41.7 kB / 1.365 GB, free: 24 kB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/1.082, allocations: 488.4 kB / 1.366 GB, free: 15.54 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/1.083, allocations: 281.7 kB / 1.366 GB, free: 15.26 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.083, allocations: 130.6 kB / 1.366 GB, free: 15.12 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001999/1.083, allocations: 382.8 kB / 1.366 GB, free: 14.74 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/1.084, allocations: 325.8 kB / 1.367 GB, free: 14.43 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006098/1.084, allocations: 452.8 kB / 1.367 GB, free: 13.95 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/1.085, allocations: 0.8193 MB / 1.368 GB, free: 13.09 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.085, allocations: 4 kB / 1.368 GB, free: 13.09 MB / 1.217 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001448/1.087, allocations: 0.9303 MB / 1.369 GB, free: 12.15 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.087, allocations: 8 kB / 1.369 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.087, allocations: 0 / 1.369 GB, free: 12.14 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/1.087, allocations: 11.94 kB / 1.369 GB, free: 12.13 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/1.088, allocations: 155.8 kB / 1.369 GB, free: 11.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/1.088, allocations: 11.94 kB / 1.369 GB, free: 11.96 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007032/1.088, allocations: 55.56 kB / 1.369 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/1.088, allocations: 24 kB / 1.369 GB, free: 11.89 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.0004715/1.089, allocations: 329.6 kB / 1.369 GB, free: 11.55 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/1.089, allocations: 83.61 kB / 1.369 GB, free: 11.47 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/1.089, allocations: 103.2 kB / 1.37 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/1.089, allocations: 11.94 kB / 1.37 GB, free: 11.36 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.089, allocations: 3.984 kB / 1.37 GB, free: 11.35 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001366/1.091, allocations: 1.085 MB / 1.371 GB, free: 10.18 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.003035/1.094, allocations: 1.898 MB / 1.372 GB, free: 8.238 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.094, allocations: 0 / 1.372 GB, free: 8.238 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000865/1.095, allocations: 175.8 kB / 1.373 GB, free: 8.066 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/1.095, allocations: 4 kB / 1.373 GB, free: 8.062 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/1.095, allocations: 16 kB / 1.373 GB, free: 8.047 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/1.095, allocations: 4 kB / 1.373 GB, free: 8.043 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.095, allocations: 0 / 1.373 GB, free: 8.043 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/1.097, allocations: 1.356 MB / 1.374 GB, free: 6.668 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/1.097, allocations: 179.3 kB / 1.374 GB, free: 6.492 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.18e-05/1.097, allocations: 16 kB / 1.374 GB, free: 6.477 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/1.098, allocations: 20 kB / 1.374 GB, free: 6.457 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.749e-05/1.098, allocations: 44.56 kB / 1.374 GB, free: 6.414 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.716e-05/1.098, allocations: 27.98 kB / 1.374 GB, free: 6.387 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0004518/1.098, allocations: 358.8 kB / 1.375 GB, free: 6.039 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/1.098, allocations: 0 / 1.375 GB, free: 6.039 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009006/1.099, allocations: 379.2 kB / 1.375 GB, free: 5.668 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.0002775/1.099, allocations: 179.6 kB / 1.375 GB, free: 5.484 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001329/1.101, allocations: 0.7667 MB / 1.376 GB, free: 4.715 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.101, allocations: 0 / 1.376 GB, free: 4.715 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0005843/1.101, allocations: 411.5 kB / 1.376 GB, free: 4.316 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.104, allocations: 0.5347 MB / 1.377 GB, free: 3.789 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/1.107, allocations: 2.182 MB / 1.379 GB, free: 1.574 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006799/1.108, allocations: 0.5464 MB / 1.379 GB, free: 1 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0007942/1.109, allocations: 258.6 kB / 1.38 GB, free: 0.7422 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/1.109, allocations: 76.48 kB / 1.38 GB, free: 0.668 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/1.109, allocations: 0 / 1.38 GB, free: 0.668 MB / 1.217 GB Notification: Performance of Templates: time 0.1111/1.22, allocations: 18.51 MB / 1.398 GB, free: 14.6 MB / 1.248 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_ZonalFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.81007221096661]