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.001605/0.001605, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001811/0.001811, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.246/3.246, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.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.001991/0.001991, allocations: 65.97 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3631, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2251/0.5882, allocations: 180.8 MB / 1.504 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.5991, allocations: 6.013 MB / 1.51 GB, free: 5.52 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.6006, allocations: 51.62 kB / 1.51 GB, free: 5.469 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.6028, allocations: 0.6915 MB / 1.51 GB, free: 4.773 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.007584/0.6103, allocations: 2.819 MB / 1.513 GB, free: 1.945 MB / 1.201 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.002155/0.6125, allocations: 0.7273 MB / 1.514 GB, free: 1.223 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004836/0.6173, allocations: 3.353 MB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001634/0.619, allocations: 0.8169 MB / 1.518 GB, free: 13.01 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.6222, allocations: 1.433 MB / 1.519 GB, free: 11.57 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.6252, allocations: 1.163 MB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.6257, allocations: 128 kB / 1.52 GB, free: 10.29 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004869/0.6305, allocations: 1.928 MB / 1.522 GB, free: 8.355 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009646/0.6315, allocations: 0.5258 MB / 1.523 GB, free: 7.828 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.6331, allocations: 0.6188 MB / 1.523 GB, free: 7.207 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006328/0.6395, allocations: 2.722 MB / 1.526 GB, free: 4.477 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.6395, allocations: 4 kB / 1.526 GB, free: 4.473 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.926e-06/0.6395, allocations: 0 / 1.526 GB, free: 4.473 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.391e-05/0.6396, allocations: 0 / 1.526 GB, free: 4.473 MB / 1.217 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.005588/0.6451, allocations: 1.738 MB / 1.528 GB, free: 2.695 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.6452, allocations: 8.031 kB / 1.528 GB, free: 2.688 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.6477, allocations: 354.9 kB / 1.528 GB, free: 2.34 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.6498, allocations: 0.8141 MB / 1.529 GB, free: 1.492 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.149e-05/0.6498, allocations: 78 kB / 1.529 GB, free: 1.414 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002076/0.65, allocations: 100 kB / 1.529 GB, free: 1.316 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.6524, allocations: 1.396 MB / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.6524, allocations: 0 / 1.53 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.6525, allocations: 44 kB / 1.531 GB, free: 15.8 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.766e-05/0.6526, allocations: 58.08 kB / 1.531 GB, free: 15.74 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002107/0.6547, allocations: 1.238 MB / 1.532 GB, free: 14.49 MB / 1.232 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.006152/0.6608, allocations: 2.973 MB / 1.535 GB, free: 11.47 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.6623, allocations: 0.8308 MB / 1.536 GB, free: 10.63 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/0.663, allocations: 495.6 kB / 1.536 GB, free: 10.15 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.6631, allocations: 12.66 kB / 1.536 GB, free: 10.14 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008795/0.6639, allocations: 0.6814 MB / 1.537 GB, free: 9.391 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.576e-06/0.6639, allocations: 0 / 1.537 GB, free: 9.391 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.00205/0.666, allocations: 1.161 MB / 1.538 GB, free: 8.223 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.6661, allocations: 60.06 kB / 1.538 GB, free: 8.152 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006742/0.6667, allocations: 0.503 MB / 1.538 GB, free: 7.641 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.6668, allocations: 41.7 kB / 1.538 GB, free: 7.594 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.6672, allocations: 476.5 kB / 1.539 GB, free: 7.121 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.6675, allocations: 281.7 kB / 1.539 GB, free: 6.844 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002148/0.6677, allocations: 134.6 kB / 1.539 GB, free: 6.707 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.6679, allocations: 382.8 kB / 1.54 GB, free: 6.324 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/0.6684, allocations: 329.8 kB / 1.54 GB, free: 6.004 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/0.669, allocations: 448.8 kB / 1.54 GB, free: 5.531 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.6702, allocations: 0.8271 MB / 1.541 GB, free: 4.664 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.6702, allocations: 4 kB / 1.541 GB, free: 4.66 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001524/0.6717, allocations: 0.9301 MB / 1.542 GB, free: 3.723 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.6717, allocations: 7.984 kB / 1.542 GB, free: 3.715 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.6717, allocations: 4 kB / 1.542 GB, free: 3.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.6718, allocations: 7.938 kB / 1.542 GB, free: 3.703 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/0.6725, allocations: 160.1 kB / 1.542 GB, free: 3.547 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.6725, allocations: 4 kB / 1.542 GB, free: 3.543 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000708/0.6732, allocations: 63.61 kB / 1.542 GB, free: 3.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.125e-05/0.6732, allocations: 24 kB / 1.542 GB, free: 3.457 MB / 1.232 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.0005805/0.6738, allocations: 330.1 kB / 1.543 GB, free: 3.125 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.674, allocations: 79.53 kB / 1.543 GB, free: 3.047 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.6742, allocations: 103.2 kB / 1.543 GB, free: 2.938 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.6742, allocations: 15.88 kB / 1.543 GB, free: 2.922 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.6742, allocations: 0 / 1.543 GB, free: 2.922 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001362/0.6756, allocations: 1.089 MB / 1.544 GB, free: 1.746 MB / 1.232 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.003191/0.6788, allocations: 1.902 MB / 1.546 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.6788, allocations: 0 / 1.546 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/0.6796, allocations: 171.8 kB / 1.546 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.251e-06/0.6796, allocations: 3.938 kB / 1.546 GB, free: 15.63 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.6797, allocations: 23.98 kB / 1.546 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.6797, allocations: 4 kB / 1.546 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.6797, allocations: 0 / 1.546 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.6816, allocations: 1.356 MB / 1.547 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004856/0.6821, allocations: 167.4 kB / 1.547 GB, free: 14.06 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.98e-05/0.6822, allocations: 16 kB / 1.547 GB, free: 14.05 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/0.6828, allocations: 27.92 kB / 1.547 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.6829, allocations: 44.56 kB / 1.548 GB, free: 13.98 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.093e-05/0.6829, allocations: 23.94 kB / 1.548 GB, free: 13.95 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004551/0.6834, allocations: 362.8 kB / 1.548 GB, free: 13.6 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6834, allocations: 0 / 1.548 GB, free: 13.6 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009474/0.6843, allocations: 375.2 kB / 1.548 GB, free: 13.23 MB / 1.248 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.0003122/0.6846, allocations: 185.7 kB / 1.548 GB, free: 13.05 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.6859, allocations: 0.7631 MB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6859, allocations: 4 kB / 1.549 GB, free: 12.28 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005705/0.6864, allocations: 407.5 kB / 1.55 GB, free: 11.88 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.6888, allocations: 0.5392 MB / 1.55 GB, free: 11.36 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.6923, allocations: 2.187 MB / 1.552 GB, free: 9.137 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.6929, allocations: 0.5386 MB / 1.553 GB, free: 8.57 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008941/0.6938, allocations: 274.5 kB / 1.553 GB, free: 8.297 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.694, allocations: 71.44 kB / 1.553 GB, free: 8.227 MB / 1.248 GB Notification: Performance of SimCode: time 1.002e-06/0.694, allocations: 0 / 1.553 GB, free: 8.227 MB / 1.248 GB Notification: Performance of Templates: time 0.03414/0.7282, allocations: 20.64 MB / 1.573 GB, free: 4.008 MB / 1.264 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 cvode -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: 9.710350112000015]