Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001228/0.001228, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002798, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008014/0.0008014, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009418/0.001743, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.087/1.087, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1361/1.223, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.588/2.588, allocations: 446.7 MB / 0.6745 GB, free: 6.176 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3968/2.985, allocations: 145.9 MB / 0.817 GB, free: 4.176 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_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.[0-9,]+.|rooB.Xi.[0-9,]+.|zonFlo.port_a1.m_flow|zonFlo.port_a2.m_flow|floExc.port_a1.m_flow|floExc.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.687e-05/3.938e-05, allocations: 5.125 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1882/0.1882, allocations: 151.6 MB / 0.9663 GB, free: 10.72 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006629/0.1948, allocations: 3.832 MB / 0.97 GB, free: 6.883 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005835/0.1954, allocations: 47.62 kB / 0.9701 GB, free: 6.836 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007149/0.1961, allocations: 317.9 kB / 0.9704 GB, free: 6.523 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/0.1985, allocations: 1.383 MB / 0.9717 GB, free: 5.133 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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.0007426/0.1992, allocations: 0.5536 MB / 0.9723 GB, free: 4.578 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.002643/0.2019, allocations: 3.335 MB / 0.9755 GB, free: 1.234 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.2031, allocations: 0.9022 MB / 0.9764 GB, free: 336 kB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001983/0.2051, allocations: 1.825 MB / 0.9782 GB, free: 14.53 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.2065, allocations: 0.9816 MB / 0.9792 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001313/0.2066, allocations: 124 kB / 0.9793 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006097/0.2072, allocations: 387.2 kB / 0.9797 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003628/0.2076, allocations: 498.8 kB / 0.9801 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.00045/0.208, allocations: 467.3 kB / 0.9806 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2092, allocations: 1.203 MB / 0.9817 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.718e-05/0.2092, allocations: 0 / 0.9817 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.175e-06/0.2092, allocations: 0 / 0.9817 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.2092, allocations: 0 / 0.9817 GB, free: 10.89 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.002421/0.2117, allocations: 1.922 MB / 0.9836 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.2117, allocations: 8.625 kB / 0.9836 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.2128, allocations: 427.8 kB / 0.984 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008155/0.2136, allocations: 0.6277 MB / 0.9847 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.2136, allocations: 82.02 kB / 0.9847 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.2137, allocations: 104 kB / 0.9848 GB, free: 7.656 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008546/0.2146, allocations: 0.8368 MB / 0.9856 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.2146, allocations: 0 / 0.9856 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.2147, allocations: 43.98 kB / 0.9857 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.776e-05/0.2147, allocations: 66 kB / 0.9858 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.2153, allocations: 358.8 kB / 0.9861 GB, free: 6.254 MB / 0.9636 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.002854/0.2181, allocations: 2.176 MB / 0.9882 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.2187, allocations: 401.8 kB / 0.9886 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.2189, allocations: 181.7 kB / 0.9888 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.726e-05/0.219, allocations: 20.64 kB / 0.9888 GB, free: 3.434 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.2193, allocations: 457.9 kB / 0.9892 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 6.903e-06/0.2194, allocations: 0 / 0.9892 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.000629/0.22, allocations: 429.8 kB / 0.9896 GB, free: 2.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.22, allocations: 64.05 kB / 0.9897 GB, free: 2.426 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.2203, allocations: 455 kB / 0.9901 GB, free: 1.969 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.733e-05/0.2204, allocations: 37.7 kB / 0.9902 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.2206, allocations: 405.8 kB / 0.9906 GB, free: 1.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.2207, allocations: 285.5 kB / 0.9908 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.2209, allocations: 118.6 kB / 0.9909 GB, free: 1.117 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.221, allocations: 382.6 kB / 0.9913 GB, free: 0.7344 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2211, allocations: 88.8 kB / 0.9914 GB, free: 0.6445 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.2213, allocations: 200.8 kB / 0.9916 GB, free: 420 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.2223, allocations: 352.7 kB / 0.9919 GB, free: 28 kB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2223, allocations: 0 / 0.9919 GB, free: 28 kB / 0.9636 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004633/0.2227, allocations: 399.9 kB / 0.9923 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2228, allocations: 4 kB / 0.9923 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.2228, allocations: 4 kB / 0.9923 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2228, allocations: 4.344 kB / 0.9923 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.2232, allocations: 183.8 kB / 0.9925 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.2232, allocations: 15.77 kB / 0.9925 GB, free: 15.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.2235, allocations: 55.58 kB / 0.9926 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.2235, allocations: 20 kB / 0.9926 GB, free: 15.35 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.0001783/0.2237, allocations: 152.5 kB / 0.9927 GB, free: 15.19 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.2238, allocations: 79.92 kB / 0.9928 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.2239, allocations: 99.23 kB / 0.9929 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2239, allocations: 8 kB / 0.9929 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2239, allocations: 4 kB / 0.9929 GB, free: 15 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004845/0.2244, allocations: 0.5892 MB / 0.9935 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.2256, allocations: 1.011 MB / 0.9945 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2256, allocations: 0 / 0.9945 GB, free: 13.28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.2261, allocations: 238.5 kB / 0.9947 GB, free: 13.04 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.2263, allocations: 123.4 kB / 0.9948 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2263, allocations: 0 / 0.9948 GB, free: 12.92 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.2263, allocations: 19.98 kB / 0.9948 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2263, allocations: 8 kB / 0.9948 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2263, allocations: 0 / 0.9948 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005908/0.2269, allocations: 0.5962 MB / 0.9954 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.227, allocations: 19.98 kB / 0.9954 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.2272, allocations: 16 kB / 0.9955 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.2273, allocations: 48.56 kB / 0.9955 GB, free: 12.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-05/0.2273, allocations: 19.98 kB / 0.9955 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001429/0.2275, allocations: 196.4 kB / 0.9957 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2275, allocations: 0 / 0.9957 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004426/0.2279, allocations: 379.2 kB / 0.9961 GB, free: 11.61 MB / 0.9792 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.0001998/0.2281, allocations: 104.3 kB / 0.9962 GB, free: 11.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003685/0.2285, allocations: 332.2 kB / 0.9965 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.099e-05/0.2285, allocations: 18.61 kB / 0.9965 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.2287, allocations: 189.8 kB / 0.9967 GB, free: 10.97 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.2299, allocations: 0.658 MB / 0.9973 GB, free: 10.33 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/0.235, allocations: 1.795 MB / 0.9991 GB, free: 8.484 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.2352, allocations: 261.4 kB / 0.9993 GB, free: 8.207 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003761/0.2356, allocations: 142.9 kB / 0.9995 GB, free: 8.062 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/0.2362, allocations: 371.1 kB / 0.9998 GB, free: 7.691 MB / 0.9792 GB Notification: Performance of SimCode: time 1.273e-06/0.2362, allocations: 4 kB / 0.9998 GB, free: 7.688 MB / 0.9792 GB Notification: Performance of Templates: time 0.02489/0.2611, allocations: 20.66 MB / 1.02 GB, free: 3.504 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow/Buildings_latest_Buildings.Airflow.Multizone.Examples.ZonalFlow.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.569251949898899]