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.001807/0.001807, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.002094/0.002094, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.804/1.804, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.281/3.281, allocations: 0.4899 GB / 0.7915 GB, free: 33.55 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.002123/0.002123, allocations: 66.69 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4931, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.288/0.7811, allocations: 207.9 MB / 1.524 GB, free: 2.121 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.7939, allocations: 6.412 MB / 1.531 GB, free: 11.69 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.7962, allocations: 51.62 kB / 1.531 GB, free: 11.64 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00282/0.7991, allocations: 0.7694 MB / 1.531 GB, free: 10.87 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.009839/0.8089, allocations: 2.766 MB / 1.534 GB, free: 8.09 MB / 1.232 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.002575/0.8115, allocations: 0.7105 MB / 1.535 GB, free: 7.383 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.005968/0.8174, allocations: 3.288 MB / 1.538 GB, free: 4.082 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002027/0.8195, allocations: 0.9336 MB / 1.539 GB, free: 3.129 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.8233, allocations: 1.425 MB / 1.54 GB, free: 1.699 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/0.8268, allocations: 1.151 MB / 1.541 GB, free: 0.5508 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.000532/0.8273, allocations: 128 kB / 1.541 GB, free: 436 kB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006925/0.8342, allocations: 2.498 MB / 1.544 GB, free: 13.92 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.8354, allocations: 0.5258 MB / 1.544 GB, free: 13.39 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002368/0.8378, allocations: 0.7469 MB / 1.545 GB, free: 12.64 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.00911/0.8469, allocations: 2.812 MB / 1.548 GB, free: 9.824 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.8469, allocations: 4 kB / 1.548 GB, free: 9.82 MB / 1.248 GB Notification: Performance of FrontEnd: time 3.627e-06/0.8469, allocations: 0 / 1.548 GB, free: 9.82 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.000105/0.847, allocations: 0 / 1.548 GB, free: 9.82 MB / 1.248 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.007479/0.8545, allocations: 1.805 MB / 1.55 GB, free: 7.957 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.8545, allocations: 8.031 kB / 1.55 GB, free: 7.949 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002807/0.8574, allocations: 350.9 kB / 1.55 GB, free: 7.605 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/0.8597, allocations: 0.8824 MB / 1.551 GB, free: 6.68 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/0.8598, allocations: 74.02 kB / 1.551 GB, free: 6.605 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002821/0.86, allocations: 104 kB / 1.551 GB, free: 6.504 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.8629, allocations: 1.191 MB / 1.552 GB, free: 5.281 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.8629, allocations: 4 kB / 1.552 GB, free: 5.277 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.8631, allocations: 40 kB / 1.552 GB, free: 5.238 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.952e-05/0.8632, allocations: 62.06 kB / 1.552 GB, free: 5.176 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.8657, allocations: 1.242 MB / 1.554 GB, free: 3.926 MB / 1.248 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.00924/0.8749, allocations: 5.272 MB / 1.559 GB, free: 14.16 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.8768, allocations: 1.136 MB / 1.56 GB, free: 12.94 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008907/0.8777, allocations: 489.9 kB / 1.56 GB, free: 12.46 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 9.721e-05/0.8778, allocations: 24.78 kB / 1.56 GB, free: 12.43 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009078/0.8787, allocations: 488.2 kB / 1.561 GB, free: 11.95 MB / 1.264 GB Notification: Performance of pre-optimization done (n=76): time 4.398e-06/0.8787, allocations: 0 / 1.561 GB, free: 11.95 MB / 1.264 GB Notification: Performance of matching and sorting (n=76): time 0.002556/0.8813, allocations: 1.161 MB / 1.562 GB, free: 10.78 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.23e-05/0.8814, allocations: 64 kB / 1.562 GB, free: 10.7 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009903/0.8823, allocations: 0.5745 MB / 1.563 GB, free: 10.12 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 9.79e-05/0.8824, allocations: 45.7 kB / 1.563 GB, free: 10.07 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.8829, allocations: 472.6 kB / 1.563 GB, free: 9.598 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/0.8833, allocations: 281.5 kB / 1.563 GB, free: 9.32 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.8836, allocations: 130.6 kB / 1.563 GB, free: 9.188 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002317/0.8838, allocations: 386.8 kB / 1.564 GB, free: 8.801 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/0.8844, allocations: 325.8 kB / 1.564 GB, free: 8.48 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/0.885, allocations: 448.8 kB / 1.564 GB, free: 8.008 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.8864, allocations: 0.831 MB / 1.565 GB, free: 7.137 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.8864, allocations: 0 / 1.565 GB, free: 7.137 MB / 1.264 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001752/0.8881, allocations: 0.9379 MB / 1.566 GB, free: 6.191 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.8882, allocations: 4 kB / 1.566 GB, free: 6.188 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.8882, allocations: 11.88 kB / 1.566 GB, free: 6.176 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.663e-05/0.8882, allocations: 8 kB / 1.566 GB, free: 6.168 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.8889, allocations: 147.8 kB / 1.566 GB, free: 6.023 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.551e-05/0.889, allocations: 16.22 kB / 1.566 GB, free: 6.008 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.8899, allocations: 67.5 kB / 1.566 GB, free: 5.941 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.8899, allocations: 24 kB / 1.566 GB, free: 5.918 MB / 1.264 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.0006532/0.8906, allocations: 329.9 kB / 1.567 GB, free: 5.586 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002398/0.8908, allocations: 83.48 kB / 1.567 GB, free: 5.504 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.8911, allocations: 111.7 kB / 1.567 GB, free: 5.391 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.8911, allocations: 8 kB / 1.567 GB, free: 5.383 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.8912, allocations: 0 / 1.567 GB, free: 5.383 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001484/0.8926, allocations: 1.093 MB / 1.568 GB, free: 4.203 MB / 1.264 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.00374/0.8964, allocations: 2.307 MB / 1.57 GB, free: 1.805 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.8964, allocations: 4 kB / 1.57 GB, free: 1.801 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008615/0.8973, allocations: 171.8 kB / 1.57 GB, free: 1.633 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.8973, allocations: 0 / 1.57 GB, free: 1.633 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.429e-05/0.8973, allocations: 20 kB / 1.571 GB, free: 1.613 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/0.8973, allocations: 12.02 kB / 1.571 GB, free: 1.602 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8973, allocations: 0 / 1.571 GB, free: 1.602 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.8995, allocations: 1.352 MB / 1.572 GB, free: 236 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.9, allocations: 264.3 kB / 1.572 GB, free: 15.95 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.9001, allocations: 12 kB / 1.572 GB, free: 15.94 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007019/0.9008, allocations: 23.98 kB / 1.572 GB, free: 15.92 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.9009, allocations: 48.59 kB / 1.572 GB, free: 15.87 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.901, allocations: 27.98 kB / 1.572 GB, free: 15.84 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.000569/0.9016, allocations: 411.1 kB / 1.573 GB, free: 15.45 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.9016, allocations: 0 / 1.573 GB, free: 15.45 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001173/0.9027, allocations: 375.2 kB / 1.573 GB, free: 15.08 MB / 1.279 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.0003716/0.9031, allocations: 183 kB / 1.573 GB, free: 14.89 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.9045, allocations: 0.7629 MB / 1.574 GB, free: 14.12 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.9045, allocations: 0.6875 kB / 1.574 GB, free: 14.12 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.9051, allocations: 411.5 kB / 1.574 GB, free: 13.73 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.9079, allocations: 0.5966 MB / 1.575 GB, free: 13.15 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004211/0.9121, allocations: 2.201 MB / 1.577 GB, free: 10.91 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.9131, allocations: 1.136 MB / 1.578 GB, free: 9.75 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009581/0.9141, allocations: 267.2 kB / 1.578 GB, free: 9.484 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.9144, allocations: 79.42 kB / 1.578 GB, free: 9.406 MB / 1.279 GB Notification: Performance of SimCode: time 1.032e-06/0.9144, allocations: 4 kB / 1.578 GB, free: 9.402 MB / 1.279 GB Notification: Performance of Templates: time 0.03792/0.9523, allocations: 19.4 MB / 1.597 GB, free: 6.227 MB / 1.295 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/jenkins/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: 11.60152630135417]