Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.001748/0.001748, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001895/0.001895, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.529/1.529, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.35/3.35, allocations: 429.4 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow") translateModel(Buildings.Airflow.Multizone.Validation.OneWayFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|m_flow_data.1.|m_flow_data.2.|m_flow_data.3.|m_flow_data.4.|m_flow_data.5.|m_flow_data.6.|m_flow_data.7.|m_flow_data.8.|m_flow_testdata.1.|m_flow_testdata.2.|m_flow_testdata.3.|m_flow_testdata.4.|m_flow_testdata.5.|m_flow_testdata.6.|m_flow_testdata.7.|m_flow_testdata.8.",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.516e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OneWayFlow): time 0.7022/0.7022, allocations: 216 MB / 1.088 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02853/0.7307, allocations: 27.37 MB / 1.115 GB, free: 47.07 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001881/0.7326, allocations: 41 kB / 1.115 GB, free: 47.07 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00257/0.7352, allocations: 1.139 MB / 1.116 GB, free: 47.05 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.008007/0.7432, allocations: 3.403 MB / 1.12 GB, free: 46.58 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004429/0.7476, allocations: 1.806 MB / 1.121 GB, free: 46.42 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.005388/0.753, allocations: 3.856 MB / 1.125 GB, free: 45.58 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001966/0.755, allocations: 1.104 MB / 1.126 GB, free: 45.46 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005887/0.7609, allocations: 2.877 MB / 1.129 GB, free: 45.16 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002665/0.7635, allocations: 1.39 MB / 1.13 GB, free: 45.02 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.7638, allocations: 133.1 kB / 1.13 GB, free: 45.02 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003985/0.7678, allocations: 1.64 MB / 1.132 GB, free: 44.87 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0009207/0.7687, allocations: 0.9295 MB / 1.133 GB, free: 44.73 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.7698, allocations: 0.7635 MB / 1.134 GB, free: 44.62 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.775, allocations: 3.011 MB / 1.137 GB, free: 44.26 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.775, allocations: 2.375 kB / 1.137 GB, free: 44.26 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.894e-06/0.775, allocations: 0 / 1.137 GB, free: 44.26 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.425e-05/0.7751, allocations: 0 / 1.137 GB, free: 44.26 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.005303/0.7804, allocations: 3.066 MB / 1.14 GB, free: 42.69 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7805, allocations: 10.72 kB / 1.14 GB, free: 42.69 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/0.7851, allocations: 0.875 MB / 1.141 GB, free: 42.51 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.7878, allocations: 1.278 MB / 1.142 GB, free: 42 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-05/0.7879, allocations: 102.8 kB / 1.142 GB, free: 41.99 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/0.7881, allocations: 126.1 kB / 1.142 GB, free: 41.99 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.791, allocations: 1.678 MB / 1.144 GB, free: 41.45 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.537e-05/0.791, allocations: 10.8 kB / 1.144 GB, free: 41.44 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.7911, allocations: 54.77 kB / 1.144 GB, free: 41.44 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.7913, allocations: 97.14 kB / 1.144 GB, free: 41.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002771/0.794, allocations: 1.04 MB / 1.145 GB, free: 41.42 MB / 1.01 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.00863/0.8027, allocations: 8.488 MB / 1.153 GB, free: 35.51 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.8054, allocations: 0.9497 MB / 1.154 GB, free: 35.14 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001096/0.8065, allocations: 375 kB / 1.154 GB, free: 35 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-05/0.8066, allocations: 39.22 kB / 1.154 GB, free: 34.99 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.8066, allocations: 46.88 kB / 1.154 GB, free: 34.94 MB / 1.01 GB Notification: Performance of pre-optimization done (n=50): time 2.625e-06/0.8066, allocations: 0 / 1.154 GB, free: 34.94 MB / 1.01 GB Notification: Performance of matching and sorting (n=50): time 0.005343/0.812, allocations: 1.123 MB / 1.156 GB, free: 34.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.812, allocations: 161.1 kB / 1.156 GB, free: 34.4 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.8156, allocations: 2.151 MB / 1.158 GB, free: 33.57 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.36e-05/0.8157, allocations: 36.36 kB / 1.158 GB, free: 33.53 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.8167, allocations: 1.238 MB / 1.159 GB, free: 32.59 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.817, allocations: 199.5 kB / 1.159 GB, free: 32.43 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000323/0.8173, allocations: 118.5 kB / 1.159 GB, free: 32.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.8174, allocations: 0.5031 MB / 1.16 GB, free: 31.87 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009872/0.8184, allocations: 283 kB / 1.16 GB, free: 31.8 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.8199, allocations: 478.3 kB / 1.161 GB, free: 31.53 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.8223, allocations: 0.6706 MB / 1.161 GB, free: 31.22 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.8223, allocations: 0 / 1.161 GB, free: 31.22 MB / 1.01 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003459/0.8257, allocations: 0.9011 MB / 1.162 GB, free: 30.91 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.8258, allocations: 5.312 kB / 1.162 GB, free: 30.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.8258, allocations: 2.688 kB / 1.162 GB, free: 30.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.8258, allocations: 5.312 kB / 1.162 GB, free: 30.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.8271, allocations: 153.1 kB / 1.162 GB, free: 30.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.8271, allocations: 5.219 kB / 1.162 GB, free: 30.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.8287, allocations: 85.69 kB / 1.162 GB, free: 30.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.8288, allocations: 30.61 kB / 1.162 GB, free: 30.88 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0008346/0.8297, allocations: 289 kB / 1.163 GB, free: 30.65 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/0.8302, allocations: 210.4 kB / 1.163 GB, free: 30.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/0.8332, allocations: 0.8485 MB / 1.164 GB, free: 30.26 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.8333, allocations: 5.969 kB / 1.164 GB, free: 30.26 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8333, allocations: 3.5 kB / 1.164 GB, free: 30.26 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.8333, allocations: 2.953 kB / 1.164 GB, free: 30.26 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.8366, allocations: 2.315 MB / 1.166 GB, free: 28.91 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8366, allocations: 0 / 1.166 GB, free: 28.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009233/0.8375, allocations: 148.4 kB / 1.166 GB, free: 28.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.8375, allocations: 2.594 kB / 1.166 GB, free: 28.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/0.8376, allocations: 27.47 kB / 1.166 GB, free: 28.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.8376, allocations: 10.17 kB / 1.166 GB, free: 28.89 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8376, allocations: 0 / 1.166 GB, free: 28.89 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00309/0.8407, allocations: 1.469 MB / 1.168 GB, free: 28.2 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006953/0.8414, allocations: 291.6 kB / 1.168 GB, free: 28.04 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.8416, allocations: 10.44 kB / 1.168 GB, free: 28.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009402/0.8425, allocations: 61.88 kB / 1.168 GB, free: 28.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.8427, allocations: 39.38 kB / 1.168 GB, free: 28.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.8427, allocations: 21.73 kB / 1.168 GB, free: 28.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00152/0.8442, allocations: 1.31 MB / 1.169 GB, free: 27.55 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.8442, allocations: 0 / 1.169 GB, free: 27.55 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001427/0.8457, allocations: 0.5285 MB / 1.17 GB, free: 27.44 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (ela.mExc,ori.mExc,pow_1dat.mExc,pow_2dat.mExc,pow_m_flow.mExc,pow_V_flow.mExc,tabDat_m_flow.mExc,tabDat_V_flow.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.002706/0.8484, allocations: 0.5415 MB / 1.17 GB, free: 27.24 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001982/0.8504, allocations: 0.6848 MB / 1.171 GB, free: 27.08 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8504, allocations: 0 / 1.171 GB, free: 27.08 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.8513, allocations: 375.4 kB / 1.171 GB, free: 26.99 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/0.8533, allocations: 488.6 kB / 1.172 GB, free: 26.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.8589, allocations: 3.718 MB / 1.175 GB, free: 24.82 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008178/0.8598, allocations: 1.006 MB / 1.176 GB, free: 24.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001225/0.861, allocations: 310 kB / 1.177 GB, free: 24.52 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.8614, allocations: 128.1 kB / 1.177 GB, free: 24.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.573e-06/0.8614, allocations: 4 kB / 1.177 GB, free: 24.5 MB / 1.01 GB Notification: Performance of Templates: time 0.03979/0.9012, allocations: 24.55 MB / 1.201 GB, free: 19.68 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OneWayFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OneWayFlow.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.935632741893642]