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.001026/0.001026, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0009226/0.0009226, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.9428/0.9428, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.798/1.798, allocations: 377.8 MB / 0.6228 GB, free: 8.676 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 2.034e-06/2.034e-06, allocations: 0 / 0.9822 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.412e-05, allocations: 6.281 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.8435/0.8436, allocations: 180.6 MB / 1.159 GB, free: 7.258 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01092/0.8545, allocations: 6.002 MB / 1.164 GB, free: 3.176 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.8563, allocations: 49.62 kB / 1.164 GB, free: 3.152 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.002417/0.8587, allocations: 0.6996 MB / 1.165 GB, free: 2.785 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.008823/0.8676, allocations: 2.871 MB / 1.168 GB, free: 1.23 MB / 1.01 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.001834/0.8694, allocations: 0.7331 MB / 1.169 GB, free: 0.8242 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003949/0.8733, allocations: 3.384 MB / 1.172 GB, free: 15.22 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.8744, allocations: 0.8181 MB / 1.173 GB, free: 14.81 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.8768, allocations: 1.843 MB / 1.175 GB, free: 14 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.8786, allocations: 1.023 MB / 1.176 GB, free: 13.68 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.8787, allocations: 128 kB / 1.176 GB, free: 13.68 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003743/0.8825, allocations: 1.937 MB / 1.178 GB, free: 12.96 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005068/0.883, allocations: 0.5664 MB / 1.178 GB, free: 12.68 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0005687/0.8835, allocations: 0.5384 MB / 1.179 GB, free: 12.47 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.002803/0.8863, allocations: 2.813 MB / 1.181 GB, free: 11.55 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.8863, allocations: 3.656 kB / 1.181 GB, free: 11.55 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8863, allocations: 0 / 1.181 GB, free: 11.55 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.434e-05/0.8864, allocations: 5.531 kB / 1.181 GB, free: 11.55 MB / 1.026 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.002552/0.8889, allocations: 1.722 MB / 1.183 GB, free: 10.54 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.889, allocations: 9.219 kB / 1.183 GB, free: 10.54 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.8901, allocations: 358 kB / 1.183 GB, free: 10.44 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/0.8912, allocations: 0.8152 MB / 1.184 GB, free: 9.965 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.206e-05/0.8913, allocations: 79 kB / 1.184 GB, free: 9.926 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.8914, allocations: 107.1 kB / 1.184 GB, free: 9.887 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/0.8929, allocations: 1.393 MB / 1.186 GB, free: 9.172 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.8929, allocations: 1.312 kB / 1.186 GB, free: 9.172 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.338e-05/0.893, allocations: 37.38 kB / 1.186 GB, free: 9.145 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.089e-05/0.8931, allocations: 64.58 kB / 1.186 GB, free: 9.133 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.8946, allocations: 1.235 MB / 1.187 GB, free: 8.723 MB / 1.026 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.003841/0.8984, allocations: 2.967 MB / 1.19 GB, free: 7.324 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.8994, allocations: 0.8307 MB / 1.191 GB, free: 6.977 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.9, allocations: 487.4 kB / 1.191 GB, free: 6.797 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 4.872e-05/0.9, allocations: 13.94 kB / 1.191 GB, free: 6.793 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006336/0.9007, allocations: 0.6915 MB / 1.192 GB, free: 6.328 MB / 1.026 GB Notification: Performance of pre-optimization done (n=76): time 2.454e-06/0.9007, allocations: 0 / 1.192 GB, free: 6.328 MB / 1.026 GB Notification: Performance of matching and sorting (n=76): time 0.001424/0.9021, allocations: 1.152 MB / 1.193 GB, free: 5.863 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.9021, allocations: 59.72 kB / 1.193 GB, free: 5.801 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.9026, allocations: 0.5121 MB / 1.194 GB, free: 5.559 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 4.947e-05/0.9026, allocations: 38.3 kB / 1.194 GB, free: 5.52 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.9029, allocations: 479.4 kB / 1.194 GB, free: 5.148 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.9031, allocations: 276.8 kB / 1.194 GB, free: 4.926 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.9033, allocations: 135 kB / 1.195 GB, free: 4.855 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003799/0.9037, allocations: 386.9 kB / 1.195 GB, free: 4.508 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.904, allocations: 329 kB / 1.195 GB, free: 4.387 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.9045, allocations: 451.2 kB / 1.196 GB, free: 4.148 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.9053, allocations: 0.822 MB / 1.196 GB, free: 3.715 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.9053, allocations: 1.375 kB / 1.196 GB, free: 3.715 MB / 1.026 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001006/0.9063, allocations: 0.9258 MB / 1.197 GB, free: 3.32 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.9063, allocations: 8.875 kB / 1.197 GB, free: 3.32 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.9063, allocations: 2.875 kB / 1.197 GB, free: 3.32 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.9064, allocations: 9.719 kB / 1.197 GB, free: 3.316 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.9067, allocations: 157.5 kB / 1.198 GB, free: 3.301 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.9067, allocations: 5.188 kB / 1.198 GB, free: 3.301 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.9071, allocations: 59.77 kB / 1.198 GB, free: 3.258 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.9071, allocations: 31 kB / 1.198 GB, free: 3.25 MB / 1.026 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.0002993/0.9074, allocations: 331.8 kB / 1.198 GB, free: 3.031 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.9075, allocations: 80.84 kB / 1.198 GB, free: 2.992 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.9076, allocations: 100.7 kB / 1.198 GB, free: 2.914 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.9076, allocations: 8.469 kB / 1.198 GB, free: 2.914 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.9076, allocations: 4 kB / 1.198 GB, free: 2.91 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008394/0.9084, allocations: 1.087 MB / 1.199 GB, free: 2.199 MB / 1.026 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.002082/0.9105, allocations: 1.903 MB / 1.201 GB, free: 1.004 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9105, allocations: 0 / 1.201 GB, free: 1.004 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.9109, allocations: 177.6 kB / 1.201 GB, free: 0.9648 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.9109, allocations: 6.5 kB / 1.201 GB, free: 0.9609 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.911, allocations: 14.53 kB / 1.201 GB, free: 0.9531 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.911, allocations: 6.531 kB / 1.201 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.911, allocations: 0 / 1.201 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.9122, allocations: 1.348 MB / 1.203 GB, free: 192 kB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.9124, allocations: 169.6 kB / 1.203 GB, free: 80 kB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.9125, allocations: 22.48 kB / 1.203 GB, free: 60 kB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.9128, allocations: 21.5 kB / 1.203 GB, free: 48 kB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.935e-05/0.9128, allocations: 50.81 kB / 1.203 GB, free: 16 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.9128, allocations: 24.3 kB / 1.203 GB, free: 8 kB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002841/0.9131, allocations: 356.9 kB / 1.203 GB, free: 15.79 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.9131, allocations: 0 / 1.203 GB, free: 15.79 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0006333/0.9138, allocations: 387.5 kB / 1.204 GB, free: 15.7 MB / 1.042 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.0002603/0.914, allocations: 179 kB / 1.204 GB, free: 15.58 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0007576/0.9148, allocations: 0.7565 MB / 1.204 GB, free: 15.22 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9148, allocations: 3.938 kB / 1.204 GB, free: 15.22 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.9151, allocations: 411 kB / 1.205 GB, free: 15.03 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.9164, allocations: 0.5297 MB / 1.205 GB, free: 14.77 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.919, allocations: 2.122 MB / 1.207 GB, free: 13.43 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003796/0.9193, allocations: 0.5431 MB / 1.208 GB, free: 13.12 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/0.9195, allocations: 80.3 kB / 1.208 GB, free: 13.11 MB / 1.042 GB Notification: Performance of SimCode: time 1.011e-06/0.9195, allocations: 0 / 1.208 GB, free: 13.11 MB / 1.042 GB Notification: Performance of Templates: time 0.01332/0.9329, allocations: 16.08 MB / 1.224 GB, free: 2.453 MB / 1.042 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: 10.970647390000522]