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.001158/0.001158, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002794, allocations: 440 kB / 10.41 MB, free: 284 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.001283/0.001283, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001783/0.003066, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8813/0.8813, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07395/0.9552, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.211/2.211, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2251/2.436, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 178] 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 1.242e-06/1.242e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.934e-05/2.058e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1633/0.1634, allocations: 151.6 MB / 0.9669 GB, free: 10.36 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.006391/0.1697, allocations: 3.85 MB / 0.9707 GB, free: 6.504 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.1709, allocations: 43.69 kB / 0.9707 GB, free: 6.461 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.1716, allocations: 325.8 kB / 0.971 GB, free: 6.141 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002684/0.1743, allocations: 1.371 MB / 0.9724 GB, free: 4.762 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.0009985/0.1753, allocations: 0.5488 MB / 0.9729 GB, free: 4.215 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003552/0.1789, allocations: 3.345 MB / 0.9762 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.1805, allocations: 0.8979 MB / 0.9771 GB, free: 15.95 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002655/0.1831, allocations: 1.774 MB / 0.9788 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.1845, allocations: 0.9777 MB / 0.9797 GB, free: 13.23 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0002146/0.1847, allocations: 128 kB / 0.9799 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.1856, allocations: 383.1 kB / 0.9802 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.1859, allocations: 498.8 kB / 0.9807 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0005068/0.1864, allocations: 467.2 kB / 0.9812 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.1879, allocations: 1.207 MB / 0.9823 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.1879, allocations: 0 / 0.9823 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.085e-06/0.1879, allocations: 4 kB / 0.9823 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.76e-05/0.1879, allocations: 0 / 0.9823 GB, free: 10.57 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.002333/0.1903, allocations: 1.926 MB / 0.9842 GB, free: 8.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1903, allocations: 8.031 kB / 0.9842 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.1914, allocations: 431.7 kB / 0.9846 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.1921, allocations: 0.6122 MB / 0.9852 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.355e-05/0.1922, allocations: 85.98 kB / 0.9853 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1923, allocations: 107.9 kB / 0.9854 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007511/0.193, allocations: 0.8446 MB / 0.9862 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.193, allocations: 0 / 0.9862 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.1931, allocations: 40 kB / 0.9863 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.1932, allocations: 62.06 kB / 0.9863 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004662/0.1936, allocations: 354.8 kB / 0.9867 GB, free: 5.926 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.002658/0.1963, allocations: 2.176 MB / 0.9888 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.1968, allocations: 402.8 kB / 0.9892 GB, free: 3.309 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.197, allocations: 185.7 kB / 0.9894 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.243e-05/0.197, allocations: 12.66 kB / 0.9894 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000343/0.1974, allocations: 465.8 kB / 0.9898 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=76): time 2.094e-06/0.1974, allocations: 0 / 0.9898 GB, free: 2.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=76): time 0.0005892/0.198, allocations: 429.9 kB / 0.9902 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.198, allocations: 64.06 kB / 0.9903 GB, free: 2.094 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.1982, allocations: 447 kB / 0.9907 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.1983, allocations: 41.7 kB / 0.9908 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1984, allocations: 413.7 kB / 0.9912 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.1986, allocations: 281.5 kB / 0.9914 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.1987, allocations: 122.6 kB / 0.9915 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.1988, allocations: 386.6 kB / 0.9919 GB, free: 404 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1989, allocations: 88.8 kB / 0.992 GB, free: 312 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.1991, allocations: 192.8 kB / 0.9922 GB, free: 84 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.1994, allocations: 364.8 kB / 0.9925 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1994, allocations: 0 / 0.9925 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0003976/0.1998, allocations: 399.9 kB / 0.9929 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1998, allocations: 4 kB / 0.9929 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1998, allocations: 4 kB / 0.9929 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1998, allocations: 4 kB / 0.9929 GB, free: 15.27 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.2003, allocations: 180.1 kB / 0.9931 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2003, allocations: 19.88 kB / 0.9931 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.2006, allocations: 55.58 kB / 0.9932 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.2006, allocations: 16 kB / 0.9932 GB, free: 15 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.0001611/0.2008, allocations: 148.5 kB / 0.9933 GB, free: 14.85 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.923e-05/0.2008, allocations: 75.92 kB / 0.9934 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.2009, allocations: 103.2 kB / 0.9935 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2009, allocations: 8 kB / 0.9935 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.201, allocations: 0 / 0.9935 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003622/0.2013, allocations: 0.5892 MB / 0.9941 GB, free: 13.99 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/0.2025, allocations: 1.011 MB / 0.9951 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2025, allocations: 0 / 0.9951 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.2031, allocations: 234.5 kB / 0.9953 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.2033, allocations: 131.3 kB / 0.9954 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.2033, allocations: 4 kB / 0.9954 GB, free: 12.58 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2033, allocations: 19.81 kB / 0.9954 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.2033, allocations: 4 kB / 0.9954 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2033, allocations: 0 / 0.9954 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.2039, allocations: 0.6002 MB / 0.996 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/0.2039, allocations: 19.98 kB / 0.996 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.2042, allocations: 12 kB / 0.9961 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.2042, allocations: 48.5 kB / 0.9961 GB, free: 11.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.2042, allocations: 23.98 kB / 0.9961 GB, free: 11.84 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001307/0.2044, allocations: 200.4 kB / 0.9963 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.2044, allocations: 0 / 0.9963 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000531/0.2049, allocations: 379.2 kB / 0.9967 GB, free: 11.27 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.0001488/0.2051, allocations: 107.5 kB / 0.9968 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.2054, allocations: 349.2 kB / 0.9971 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.858e-05/0.2054, allocations: 10.62 kB / 0.9971 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.2057, allocations: 231.1 kB / 0.9973 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.2074, allocations: 2.954 MB / 1 GB, free: 7.098 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005441/0.2129, allocations: 1.791 MB / 1.002 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2131, allocations: 265.4 kB / 1.002 GB, free: 4.977 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0006137/0.2137, allocations: 142.9 kB / 1.002 GB, free: 4.832 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006973/0.2144, allocations: 375 kB / 1.003 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of SimCode: time 1.623e-06/0.2144, allocations: 0 / 1.003 GB, free: 4.461 MB / 0.9792 GB Notification: Performance of Templates: time 0.02258/0.237, allocations: 20.77 MB / 1.023 GB, free: 172 kB / 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.39377723261714]