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.001837/0.001837, allocations: 79.75 kB / 20.23 MB, free: 4.043 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.002041/0.002041, allocations: 153.4 kB / 23.55 MB, free: 0.7305 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.629 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 3.095/3.095, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] 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.473e-06/1.473e-06, allocations: 0 / 0.8108 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.8e-05, allocations: 5.328 kB / 0.8108 GB, free: 1 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.2836/0.2836, allocations: 201.7 MB / 1.008 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.296, allocations: 6.524 MB / 1.014 GB, free: 80 kB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.2974, allocations: 47.62 kB / 1.014 GB, free: 32 kB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.2994, allocations: 0.6991 MB / 1.015 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.007976/0.3074, allocations: 2.876 MB / 1.018 GB, free: 12.43 MB / 0.9323 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.002055/0.3095, allocations: 0.7336 MB / 1.018 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.004946/0.3144, allocations: 3.39 MB / 1.022 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.3159, allocations: 0.8482 MB / 1.023 GB, free: 7.426 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.3197, allocations: 1.835 MB / 1.024 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.3221, allocations: 1.062 MB / 1.025 GB, free: 4.539 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002458/0.3224, allocations: 128 kB / 1.025 GB, free: 4.414 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.327, allocations: 1.939 MB / 1.027 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0007819/0.3277, allocations: 0.5688 MB / 1.028 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0009779/0.3287, allocations: 0.5419 MB / 1.028 GB, free: 1.355 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.413/0.7418, allocations: 2.832 MB / 1.031 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7418, allocations: 2.141 kB / 1.031 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7418, allocations: 0 / 1.031 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.7418, allocations: 0 / 1.031 GB, free: 28.62 MB / 0.9323 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.004392/0.7462, allocations: 1.923 MB / 1.033 GB, free: 27.81 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7462, allocations: 9.875 kB / 1.033 GB, free: 27.81 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/0.7486, allocations: 469.4 kB / 1.034 GB, free: 27.71 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.7504, allocations: 0.8134 MB / 1.034 GB, free: 27.45 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.7504, allocations: 78.33 kB / 1.034 GB, free: 27.45 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.7506, allocations: 105 kB / 1.035 GB, free: 27.45 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.7525, allocations: 1.07 MB / 1.036 GB, free: 27.11 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.7525, allocations: 1.5 kB / 1.036 GB, free: 27.11 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.7526, allocations: 42.92 kB / 1.036 GB, free: 27.11 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-05/0.7527, allocations: 59.66 kB / 1.036 GB, free: 27.11 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.7544, allocations: 0.8094 MB / 1.036 GB, free: 27.09 MB / 0.9323 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.006103/0.7605, allocations: 3.204 MB / 1.04 GB, free: 26.55 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.7617, allocations: 0.5823 MB / 1.04 GB, free: 26.51 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006878/0.7624, allocations: 325.2 kB / 1.04 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.618e-05/0.7625, allocations: 20.95 kB / 1.041 GB, free: 26.49 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006619/0.7632, allocations: 0.5647 MB / 1.041 GB, free: 26.18 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=76): time 3.035e-06/0.7632, allocations: 0 / 1.041 GB, free: 26.18 MB / 0.9323 GB Notification: Performance of matching and sorting (n=76): time 0.001672/0.7648, allocations: 0.7984 MB / 1.042 GB, free: 26.09 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.7649, allocations: 64.59 kB / 1.042 GB, free: 26.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.7656, allocations: 0.6411 MB / 1.043 GB, free: 25.84 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.7656, allocations: 39.2 kB / 1.043 GB, free: 25.81 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.7659, allocations: 0.5438 MB / 1.043 GB, free: 25.51 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.7661, allocations: 308 kB / 1.043 GB, free: 25.33 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.7664, allocations: 156.7 kB / 1.044 GB, free: 25.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.7665, allocations: 0.6078 MB / 1.044 GB, free: 24.81 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.7669, allocations: 189.3 kB / 1.044 GB, free: 24.81 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004865/0.7674, allocations: 369.7 kB / 1.045 GB, free: 24.67 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.7683, allocations: 0.6062 MB / 1.045 GB, free: 24.52 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.7683, allocations: 1.125 kB / 1.045 GB, free: 24.52 MB / 0.9323 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001217/0.7695, allocations: 0.6874 MB / 1.046 GB, free: 24.43 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.7696, allocations: 12.38 kB / 1.046 GB, free: 24.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.7696, allocations: 2.031 kB / 1.046 GB, free: 24.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.7696, allocations: 8.219 kB / 1.046 GB, free: 24.43 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.7703, allocations: 155.6 kB / 1.046 GB, free: 24.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.7703, allocations: 13.75 kB / 1.046 GB, free: 24.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007613/0.7711, allocations: 52.73 kB / 1.046 GB, free: 24.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.7711, allocations: 27.23 kB / 1.046 GB, free: 24.4 MB / 0.9323 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.000366/0.7715, allocations: 288 kB / 1.046 GB, free: 24.23 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.7717, allocations: 104.1 kB / 1.047 GB, free: 24.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.7719, allocations: 104.2 kB / 1.047 GB, free: 24.18 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.7719, allocations: 8.594 kB / 1.047 GB, free: 24.18 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.7719, allocations: 2.156 kB / 1.047 GB, free: 24.18 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009716/0.7729, allocations: 0.8338 MB / 1.047 GB, free: 23.72 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.7762, allocations: 1.808 MB / 1.049 GB, free: 23.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.7762, allocations: 1.781 kB / 1.049 GB, free: 23.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008927/0.7771, allocations: 170.6 kB / 1.049 GB, free: 23.34 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.7771, allocations: 4.594 kB / 1.049 GB, free: 23.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.7772, allocations: 21.84 kB / 1.049 GB, free: 23.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.7772, allocations: 3.812 kB / 1.049 GB, free: 23.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.7772, allocations: 1.188 kB / 1.049 GB, free: 23.34 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.7788, allocations: 1.059 MB / 1.05 GB, free: 23.07 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005296/0.7794, allocations: 168.1 kB / 1.051 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000168/0.7795, allocations: 15.81 kB / 1.051 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.7802, allocations: 21.75 kB / 1.051 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.7804, allocations: 44.14 kB / 1.051 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.7804, allocations: 29.45 kB / 1.051 GB, free: 23.02 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004645/0.7809, allocations: 409 kB / 1.051 GB, free: 22.89 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7809, allocations: 0.9062 kB / 1.051 GB, free: 22.89 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001153/0.782, allocations: 374 kB / 1.051 GB, free: 22.84 MB / 0.9323 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.000274/0.7823, allocations: 177.2 kB / 1.052 GB, free: 22.75 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001031/0.7833, allocations: 0.5584 MB / 1.052 GB, free: 22.73 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.7833, allocations: 5.406 kB / 1.052 GB, free: 22.73 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004781/0.7838, allocations: 314.9 kB / 1.053 GB, free: 22.71 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002562/0.7864, allocations: 0.5352 MB / 1.053 GB, free: 22.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.7895, allocations: 1.866 MB / 1.055 GB, free: 21.89 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006442/0.7902, allocations: 0.5159 MB / 1.055 GB, free: 21.78 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008346/0.791, allocations: 226.1 kB / 1.056 GB, free: 21.75 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002374/0.7912, allocations: 74.41 kB / 1.056 GB, free: 21.74 MB / 0.9323 GB Notification: Performance of SimCode: time 1.333e-06/0.7912, allocations: 0.9375 kB / 1.056 GB, free: 21.74 MB / 0.9323 GB Notification: Performance of Templates: time 0.02635/0.8176, allocations: 18.42 MB / 1.074 GB, free: 19.89 MB / 0.9323 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] 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.35644939308986]