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.002037/0.002037, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002767/0.002767, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.49/1.49, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.88/2.88, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.796e-05, allocations: 7.344 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2578/0.2578, allocations: 180.6 MB / 0.9872 GB, free: 12.92 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01185/0.2697, allocations: 6.017 MB / 0.993 GB, free: 6.883 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.2709, allocations: 43.69 kB / 0.9931 GB, free: 6.84 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.2729, allocations: 0.6989 MB / 0.9938 GB, free: 6.137 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00753/0.2805, allocations: 2.876 MB / 0.9966 GB, free: 3.246 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.00201/0.2825, allocations: 0.7324 MB / 0.9973 GB, free: 2.512 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005256/0.2877, allocations: 3.385 MB / 1.001 GB, free: 15.12 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.2894, allocations: 0.8522 MB / 1.001 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.2934, allocations: 1.831 MB / 1.003 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002966/0.2964, allocations: 1.042 MB / 1.004 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.2969, allocations: 128 kB / 1.004 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004605/0.3015, allocations: 1.935 MB / 1.006 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0008863/0.3024, allocations: 0.5648 MB / 1.007 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001466/0.3038, allocations: 0.538 MB / 1.007 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.005492/0.3093, allocations: 2.824 MB / 1.01 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3093, allocations: 3.938 kB / 1.01 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3093, allocations: 0 / 1.01 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.969e-05/0.3094, allocations: 0 / 1.01 GB, free: 5.375 MB / 0.9636 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.005083/0.3145, allocations: 1.726 MB / 1.012 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3145, allocations: 8.031 kB / 1.012 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.3173, allocations: 470.5 kB / 1.012 GB, free: 3.141 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.3191, allocations: 0.8494 MB / 1.013 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.898e-05/0.3192, allocations: 85.94 kB / 1.013 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.3194, allocations: 104 kB / 1.013 GB, free: 2.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.322, allocations: 1.396 MB / 1.015 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.322, allocations: 0 / 1.015 GB, free: 0.5938 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/0.3221, allocations: 47.98 kB / 1.015 GB, free: 0.5469 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/0.3222, allocations: 58.08 kB / 1.015 GB, free: 500 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.3246, allocations: 1.238 MB / 1.016 GB, free: 15.24 MB / 0.9792 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.006537/0.3311, allocations: 3.023 MB / 1.019 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.3327, allocations: 0.8331 MB / 1.02 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.3336, allocations: 489.6 kB / 1.02 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.026e-05/0.3337, allocations: 16.66 kB / 1.02 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.3347, allocations: 0.6814 MB / 1.021 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=76): time 2.275e-06/0.3347, allocations: 0 / 1.021 GB, free: 10.11 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76): time 0.002431/0.3371, allocations: 1.177 MB / 1.022 GB, free: 8.926 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3372, allocations: 64.06 kB / 1.022 GB, free: 8.852 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000756/0.3379, allocations: 0.5067 MB / 1.023 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.634e-05/0.338, allocations: 41.7 kB / 1.023 GB, free: 8.285 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/0.3384, allocations: 484.7 kB / 1.023 GB, free: 7.805 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.3387, allocations: 269.6 kB / 1.023 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002541/0.339, allocations: 130.6 kB / 1.023 GB, free: 7.406 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002388/0.3392, allocations: 378.8 kB / 1.024 GB, free: 7.027 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005935/0.3398, allocations: 333.8 kB / 1.024 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/0.3405, allocations: 452.7 kB / 1.025 GB, free: 6.219 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.3419, allocations: 0.8232 MB / 1.025 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3419, allocations: 0 / 1.025 GB, free: 5.359 MB / 0.9792 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001764/0.3437, allocations: 0.9613 MB / 1.026 GB, free: 4.391 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.3437, allocations: 8 kB / 1.026 GB, free: 4.383 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3437, allocations: 4 kB / 1.026 GB, free: 4.379 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.3437, allocations: 4 kB / 1.026 GB, free: 4.375 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.3445, allocations: 159.8 kB / 1.026 GB, free: 4.219 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/0.3445, allocations: 7.938 kB / 1.026 GB, free: 4.211 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007245/0.3453, allocations: 59.89 kB / 1.027 GB, free: 4.152 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.3453, allocations: 28 kB / 1.027 GB, free: 4.125 MB / 0.9792 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.0006057/0.3459, allocations: 329.6 kB / 1.027 GB, free: 3.793 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.3462, allocations: 103.5 kB / 1.027 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002654/0.3464, allocations: 103.2 kB / 1.027 GB, free: 3.59 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.3464, allocations: 8 kB / 1.027 GB, free: 3.582 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3464, allocations: 3.938 kB / 1.027 GB, free: 3.578 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.3482, allocations: 1.089 MB / 1.028 GB, free: 2.402 MB / 0.9792 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.003571/0.3517, allocations: 1.894 MB / 1.03 GB, free: 464 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.3517, allocations: 4.031 kB / 1.03 GB, free: 460 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009142/0.3526, allocations: 175.7 kB / 1.03 GB, free: 284 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.3527, allocations: 7.938 kB / 1.03 GB, free: 276 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.3527, allocations: 19.98 kB / 1.03 GB, free: 256 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.3527, allocations: 4 kB / 1.03 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3527, allocations: 0 / 1.03 GB, free: 252 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.355, allocations: 1.368 MB / 1.032 GB, free: 14.86 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.3555, allocations: 179.3 kB / 1.032 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.3556, allocations: 24.12 kB / 1.032 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.3563, allocations: 19.98 kB / 1.032 GB, free: 14.64 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.3564, allocations: 52.5 kB / 1.032 GB, free: 14.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.3564, allocations: 27.98 kB / 1.032 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005001/0.3569, allocations: 354.8 kB / 1.032 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.3569, allocations: 0 / 1.032 GB, free: 14.22 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009875/0.3579, allocations: 379.2 kB / 1.032 GB, free: 13.85 MB / 0.9948 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.0003058/0.3582, allocations: 175 kB / 1.033 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.3596, allocations: 0.7635 MB / 1.033 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.3596, allocations: 4.062 kB / 1.033 GB, free: 12.9 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006553/0.3603, allocations: 411.6 kB / 1.034 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002488/0.3628, allocations: 0.5387 MB / 1.034 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003862/0.3666, allocations: 2.063 MB / 1.036 GB, free: 9.867 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.3674, allocations: 0.5386 MB / 1.037 GB, free: 9.297 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001027/0.3684, allocations: 270.6 kB / 1.037 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.3687, allocations: 72.48 kB / 1.037 GB, free: 8.957 MB / 0.9948 GB Notification: Performance of SimCode: time 1.263e-06/0.3687, allocations: 0 / 1.037 GB, free: 8.957 MB / 0.9948 GB Notification: Performance of Templates: time 0.3602/0.7289, allocations: 18.37 MB / 1.055 GB, free: 275.9 MB / 0.9948 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: 9.059040747000836]