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.0007304/0.0007304, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009939/0.001724, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006879/0.0006879, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009253/0.001613, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9206/0.9206, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09395/1.015, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.858/1.858, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5064/2.365, allocations: 123.3 MB / 0.728 GB, free: 5.809 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[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_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.[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_12_Buildings.Airflow.Multizone.Examples.ZonalFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0.5469 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.688e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1526/0.1526, allocations: 151.6 MB / 0.8773 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007851/0.1605, allocations: 3.831 MB / 0.8811 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/0.1616, allocations: 47.62 kB / 0.8811 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0009438/0.1625, allocations: 321.9 kB / 0.8814 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.1648, allocations: 1.371 MB / 0.8828 GB, free: 7.055 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.0009131/0.1657, allocations: 0.5577 MB / 0.8833 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.1687, allocations: 3.327 MB / 0.8865 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.1702, allocations: 0.8922 MB / 0.8874 GB, free: 2.258 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002993/0.1732, allocations: 1.815 MB / 0.8892 GB, free: 488 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.1745, allocations: 0.9738 MB / 0.8901 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.1747, allocations: 124 kB / 0.8903 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008267/0.1756, allocations: 383.2 kB / 0.8906 GB, free: 15 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.1759, allocations: 498.8 kB / 0.8911 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005149/0.1764, allocations: 463.3 kB / 0.8915 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.1778, allocations: 1.199 MB / 0.8927 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.1778, allocations: 0 / 0.8927 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1778, allocations: 0 / 0.8927 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.463e-05/0.1778, allocations: 0 / 0.8927 GB, free: 12.86 MB / 0.8698 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.002526/0.1804, allocations: 1.922 MB / 0.8946 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1804, allocations: 12.03 kB / 0.8946 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1815, allocations: 427.8 kB / 0.895 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1825, allocations: 0.6121 MB / 0.8956 GB, free: 9.816 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.1826, allocations: 78 kB / 0.8957 GB, free: 9.738 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1827, allocations: 108 kB / 0.8958 GB, free: 9.633 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.1835, allocations: 0.8367 MB / 0.8966 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.1835, allocations: 0 / 0.8966 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.175e-05/0.1836, allocations: 44 kB / 0.8966 GB, free: 8.668 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.377e-05/0.1836, allocations: 62.06 kB / 0.8967 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007494/0.1844, allocations: 342.8 kB / 0.897 GB, free: 8.25 MB / 0.8698 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.00291/0.1873, allocations: 2.16 MB / 0.8991 GB, free: 6.055 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.1878, allocations: 406 kB / 0.8995 GB, free: 5.648 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.188, allocations: 181.7 kB / 0.8997 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.242e-05/0.188, allocations: 20.64 kB / 0.8997 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.1884, allocations: 461.8 kB / 0.9002 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=76): time 2.795e-06/0.1884, allocations: 0 / 0.9002 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.0006368/0.189, allocations: 429.8 kB / 0.9006 GB, free: 4.516 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1891, allocations: 60.06 kB / 0.9006 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.1894, allocations: 451 kB / 0.9011 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.1894, allocations: 41.7 kB / 0.9011 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.1896, allocations: 401.8 kB / 0.9015 GB, free: 3.539 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.1898, allocations: 289.5 kB / 0.9018 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1899, allocations: 122.6 kB / 0.9019 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003153/0.1902, allocations: 382.6 kB / 0.9022 GB, free: 2.742 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.1903, allocations: 84.8 kB / 0.9023 GB, free: 2.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1905, allocations: 200.8 kB / 0.9025 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.1908, allocations: 352.7 kB / 0.9029 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1908, allocations: 0 / 0.9029 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0004254/0.1913, allocations: 404.1 kB / 0.9032 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1913, allocations: 4 kB / 0.9032 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.1913, allocations: 4 kB / 0.9032 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1913, allocations: 11.94 kB / 0.9033 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.1917, allocations: 175.8 kB / 0.9034 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1918, allocations: 15.88 kB / 0.9034 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003351/0.1921, allocations: 55.58 kB / 0.9035 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.1921, allocations: 16 kB / 0.9035 GB, free: 1.371 MB / 0.8698 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.0002081/0.1923, allocations: 152.6 kB / 0.9037 GB, free: 1.211 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.149e-05/0.1924, allocations: 75.92 kB / 0.9037 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.1925, allocations: 103.2 kB / 0.9038 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1925, allocations: 8 kB / 0.9038 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1925, allocations: 0 / 0.9038 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000391/0.1929, allocations: 0.5892 MB / 0.9044 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.1941, allocations: 0.9996 MB / 0.9054 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1941, allocations: 0 / 0.9054 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005911/0.1947, allocations: 242.5 kB / 0.9056 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1949, allocations: 127.3 kB / 0.9057 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1949, allocations: 0 / 0.9057 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.1949, allocations: 19.98 kB / 0.9058 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1949, allocations: 8 kB / 0.9058 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1949, allocations: 3.938 kB / 0.9058 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.1955, allocations: 0.6002 MB / 0.9064 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.1955, allocations: 15.98 kB / 0.9064 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.1958, allocations: 16 kB / 0.9064 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1958, allocations: 44.56 kB / 0.9064 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.1959, allocations: 23.98 kB / 0.9064 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001513/0.196, allocations: 192.4 kB / 0.9066 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.196, allocations: 0 / 0.9066 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006651/0.1967, allocations: 379.2 kB / 0.907 GB, free: 13.64 MB / 0.8855 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.0001885/0.1969, allocations: 112.3 kB / 0.9071 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003764/0.1972, allocations: 328.2 kB / 0.9074 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/0.1973, allocations: 15.31 kB / 0.9074 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.1974, allocations: 193.8 kB / 0.9076 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.1986, allocations: 0.6479 MB / 0.9082 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.2038, allocations: 1.796 MB / 0.91 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.204, allocations: 265.4 kB / 0.9103 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004934/0.2044, allocations: 142.9 kB / 0.9104 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006747/0.2051, allocations: 379 kB / 0.9107 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of SimCode: time 1.463e-06/0.2051, allocations: 0 / 0.9107 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of Templates: time 0.02382/0.2289, allocations: 20.58 MB / 0.9309 GB, free: 5.602 MB / 0.9011 GB " [Timeout remaining time 300] 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Airflow.Multizone.Examples.ZonalFlow/Buildings_12_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: 5.350440951995552]