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.001499/0.001499, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.001826/0.001826, allocations: 213.8 kB / 23.04 MB, free: 4.863 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.195/3.195, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.002053/0.002053, allocations: 79.61 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4584, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2562/0.7146, allocations: 180.8 MB / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.7278, allocations: 6.003 MB / 1.51 GB, free: 5.457 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.7296, allocations: 47.62 kB / 1.51 GB, free: 5.41 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.7317, allocations: 0.6993 MB / 1.51 GB, free: 4.707 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.008196/0.7399, allocations: 2.805 MB / 1.513 GB, free: 1.891 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.002203/0.7421, allocations: 0.7244 MB / 1.514 GB, free: 1.172 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005094/0.7472, allocations: 3.337 MB / 1.517 GB, free: 13.82 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001486/0.7487, allocations: 0.7974 MB / 1.518 GB, free: 13 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.7521, allocations: 1.437 MB / 1.519 GB, free: 11.55 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00312/0.7553, allocations: 1.117 MB / 1.52 GB, free: 10.44 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.7555, allocations: 128 kB / 1.52 GB, free: 10.32 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00504/0.7605, allocations: 1.909 MB / 1.522 GB, free: 8.402 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007599/0.7613, allocations: 0.5259 MB / 1.523 GB, free: 7.875 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.7624, allocations: 0.6265 MB / 1.523 GB, free: 7.246 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005505/0.7679, allocations: 2.722 MB / 1.526 GB, free: 4.516 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.7679, allocations: 0 / 1.526 GB, free: 4.516 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7679, allocations: 0 / 1.526 GB, free: 4.516 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.067e-05/0.768, allocations: 0 / 1.526 GB, free: 4.516 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.004467/0.7724, allocations: 1.743 MB / 1.528 GB, free: 2.734 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.7725, allocations: 11.97 kB / 1.528 GB, free: 2.723 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/0.7747, allocations: 350.9 kB / 1.528 GB, free: 2.379 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.7763, allocations: 0.8219 MB / 1.529 GB, free: 1.523 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.7764, allocations: 70.02 kB / 1.529 GB, free: 1.453 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.7766, allocations: 104 kB / 1.529 GB, free: 1.352 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.7788, allocations: 1.392 MB / 1.53 GB, free: 15.88 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.7788, allocations: 0 / 1.53 GB, free: 15.88 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.7789, allocations: 43.98 kB / 1.531 GB, free: 15.84 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.219e-05/0.779, allocations: 62.08 kB / 1.531 GB, free: 15.77 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.781, allocations: 1.249 MB / 1.532 GB, free: 14.52 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.006008/0.787, allocations: 2.961 MB / 1.535 GB, free: 11.51 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.7884, allocations: 0.8279 MB / 1.535 GB, free: 10.67 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007457/0.7892, allocations: 485.2 kB / 1.536 GB, free: 10.19 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-05/0.7892, allocations: 16.64 kB / 1.536 GB, free: 10.18 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009002/0.7901, allocations: 0.6892 MB / 1.537 GB, free: 9.422 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 4.248e-06/0.7901, allocations: 0 / 1.537 GB, free: 9.422 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.002099/0.7922, allocations: 1.149 MB / 1.538 GB, free: 8.266 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.7923, allocations: 64.05 kB / 1.538 GB, free: 8.191 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.793, allocations: 0.4991 MB / 1.538 GB, free: 7.684 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.793, allocations: 41.7 kB / 1.538 GB, free: 7.637 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.7934, allocations: 480.5 kB / 1.539 GB, free: 7.16 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.7937, allocations: 285.7 kB / 1.539 GB, free: 6.879 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00022/0.7939, allocations: 130.6 kB / 1.539 GB, free: 6.746 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002179/0.7942, allocations: 382.8 kB / 1.54 GB, free: 6.363 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.7947, allocations: 333.8 kB / 1.54 GB, free: 6.039 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006152/0.7953, allocations: 448.7 kB / 1.54 GB, free: 5.566 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.7965, allocations: 0.8272 MB / 1.541 GB, free: 4.703 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.7965, allocations: 0 / 1.541 GB, free: 4.703 MB / 1.232 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0015/0.798, allocations: 0.9225 MB / 1.542 GB, free: 3.773 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.798, allocations: 12.06 kB / 1.542 GB, free: 3.762 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.798, allocations: 4 kB / 1.542 GB, free: 3.758 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.05e-05/0.798, allocations: 11.92 kB / 1.542 GB, free: 3.746 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/0.7987, allocations: 155.8 kB / 1.542 GB, free: 3.594 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.7988, allocations: 7.984 kB / 1.542 GB, free: 3.586 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.7994, allocations: 51.62 kB / 1.542 GB, free: 3.535 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.7995, allocations: 27.98 kB / 1.542 GB, free: 3.508 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.0005987/0.8001, allocations: 342 kB / 1.543 GB, free: 3.164 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.8002, allocations: 75.53 kB / 1.543 GB, free: 3.09 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000268/0.8005, allocations: 111.2 kB / 1.543 GB, free: 2.973 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.8005, allocations: 15.88 kB / 1.543 GB, free: 2.957 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.8005, allocations: 0 / 1.543 GB, free: 2.957 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.8019, allocations: 1.085 MB / 1.544 GB, free: 1.785 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.003198/0.8051, allocations: 1.902 MB / 1.546 GB, free: 15.84 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.8051, allocations: 0 / 1.546 GB, free: 15.84 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/0.8059, allocations: 171.8 kB / 1.546 GB, free: 15.67 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/0.806, allocations: 8.031 kB / 1.546 GB, free: 15.66 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.07e-05/0.806, allocations: 23.98 kB / 1.546 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.806, allocations: 0 / 1.546 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.806, allocations: 4 kB / 1.546 GB, free: 15.64 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.8082, allocations: 1.352 MB / 1.547 GB, free: 14.27 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004627/0.8086, allocations: 171.4 kB / 1.547 GB, free: 14.1 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.8087, allocations: 16 kB / 1.547 GB, free: 14.08 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/0.8093, allocations: 29.42 kB / 1.547 GB, free: 14.05 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/0.8094, allocations: 40.58 kB / 1.547 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.8095, allocations: 27.98 kB / 1.548 GB, free: 13.99 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004985/0.81, allocations: 362.8 kB / 1.548 GB, free: 13.64 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.81, allocations: 3.938 kB / 1.548 GB, free: 13.63 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001138/0.8111, allocations: 375.2 kB / 1.548 GB, free: 13.27 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.000346/0.8115, allocations: 176.4 kB / 1.548 GB, free: 13.09 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.8128, allocations: 0.7706 MB / 1.549 GB, free: 12.31 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8128, allocations: 0 / 1.549 GB, free: 12.31 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005504/0.8133, allocations: 411.5 kB / 1.55 GB, free: 11.91 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002406/0.8157, allocations: 0.5341 MB / 1.55 GB, free: 11.39 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00409/0.8198, allocations: 2.259 MB / 1.552 GB, free: 9.094 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.8205, allocations: 0.5425 MB / 1.553 GB, free: 8.523 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.8208, allocations: 83.36 kB / 1.553 GB, free: 8.441 MB / 1.248 GB Notification: Performance of SimCode: time 9.82e-07/0.8208, allocations: 0 / 1.553 GB, free: 8.441 MB / 1.248 GB Notification: Performance of Templates: time 0.0308/0.8516, allocations: 15.84 MB / 1.568 GB, free: 8.688 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 -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: 14.908517770003527]