Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.0009495/0.0009495, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001024/0.001024, allocations: 181 kB / 23.36 MB, free: 1.133 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.9825/0.9825, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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 2.47/2.47, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") translateModel(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|eas.pWin|sou.pWin|wes.pWin|nor.alpha|eas.alpha|sou.alpha|wes.alpha",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.33e-05, allocations: 5.828 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1374/0.1374, allocations: 150.3 MB / 0.9854 GB, free: 7.34 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01701/0.1544, allocations: 15.52 MB / 1.001 GB, free: 7.766 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.156, allocations: 43.62 kB / 1.001 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1574, allocations: 428.3 kB / 1.001 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.1613, allocations: 1.495 MB / 1.002 GB, free: 5.797 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003017/0.1643, allocations: 1.457 MB / 1.004 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.003512/0.1678, allocations: 2.972 MB / 1.007 GB, free: 1.352 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002234/0.17, allocations: 1.593 MB / 1.008 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.1742, allocations: 2.08 MB / 1.01 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.1755, allocations: 0.888 MB / 1.011 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.1758, allocations: 216 kB / 1.011 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.1777, allocations: 1.1 MB / 1.012 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005422/0.1782, allocations: 0.8257 MB / 1.013 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0008919/0.1791, allocations: 0.83 MB / 1.014 GB, free: 9.891 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.003687/0.1828, allocations: 2.616 MB / 1.017 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1828, allocations: 0 / 1.017 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1828, allocations: 0 / 1.017 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 3.745e-05/0.1829, allocations: 0 / 1.017 GB, free: 7.266 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.002862/0.1857, allocations: 2.666 MB / 1.019 GB, free: 4.555 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1858, allocations: 8.625 kB / 1.019 GB, free: 4.547 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.1878, allocations: 0.8023 MB / 1.02 GB, free: 3.742 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.1893, allocations: 1.124 MB / 1.021 GB, free: 2.566 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-05/0.1894, allocations: 135.4 kB / 1.021 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.1895, allocations: 184 kB / 1.021 GB, free: 2.254 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1911, allocations: 1.988 MB / 1.023 GB, free: 44 kB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.1912, allocations: 0 / 1.023 GB, free: 44 kB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.1913, allocations: 76.08 kB / 1.023 GB, free: 15.96 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.1913, allocations: 40 kB / 1.024 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.1923, allocations: 0.8671 MB / 1.024 GB, free: 15.05 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.1964, allocations: 3.007 MB / 1.027 GB, free: 11.98 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008748/0.1973, allocations: 0.7484 MB / 1.028 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.1976, allocations: 279.6 kB / 1.028 GB, free: 10.95 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.1977, allocations: 81.25 kB / 1.028 GB, free: 10.87 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008959/0.1986, allocations: 1.2 MB / 1.03 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=154): time 3.136e-06/0.1986, allocations: 0 / 1.03 GB, free: 9.496 MB / 0.9948 GB Notification: Performance of matching and sorting (n=154): time 0.002101/0.2007, allocations: 1.157 MB / 1.031 GB, free: 8.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.2008, allocations: 205.2 kB / 1.031 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.2017, allocations: 1.14 MB / 1.032 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/0.2018, allocations: 61.7 kB / 1.032 GB, free: 6.848 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.2022, allocations: 0.6198 MB / 1.033 GB, free: 6.215 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002912/0.2025, allocations: 0.5189 MB / 1.033 GB, free: 5.691 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.2027, allocations: 255.4 kB / 1.033 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2028, allocations: 369.7 kB / 1.034 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.2031, allocations: 166.7 kB / 1.034 GB, free: 4.902 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.2035, allocations: 0.6708 MB / 1.035 GB, free: 4.113 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.2041, allocations: 0.5452 MB / 1.035 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2041, allocations: 0 / 1.035 GB, free: 3.551 MB / 0.9948 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00133/0.2054, allocations: 0.8125 MB / 1.036 GB, free: 2.715 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.2054, allocations: 8 kB / 1.036 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2054, allocations: 11.94 kB / 1.036 GB, free: 2.695 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006351/0.2061, allocations: 252 kB / 1.036 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.2068, allocations: 323.5 kB / 1.036 GB, free: 2.117 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.2102, allocations: 6.062 MB / 1.042 GB, free: 11.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/0.211, allocations: 135.2 kB / 1.043 GB, free: 11.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.2111, allocations: 43.95 kB / 1.043 GB, free: 11.45 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005784/0.2117, allocations: 207 kB / 1.043 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.2119, allocations: 151.8 kB / 1.043 GB, free: 11.08 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.2133, allocations: 1.067 MB / 1.044 GB, free: 9.984 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.2133, allocations: 19.94 kB / 1.044 GB, free: 9.965 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2133, allocations: 8 kB / 1.044 GB, free: 9.957 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.2133, allocations: 11.91 kB / 1.044 GB, free: 9.945 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.216, allocations: 2.044 MB / 1.046 GB, free: 7.848 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.216, allocations: 3.938 kB / 1.046 GB, free: 7.844 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006467/0.2167, allocations: 287.6 kB / 1.046 GB, free: 7.562 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005513/0.2172, allocations: 236 kB / 1.046 GB, free: 7.316 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.2173, allocations: 43.95 kB / 1.047 GB, free: 7.273 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002988/0.2203, allocations: 6.071 MB / 1.052 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2203, allocations: 0 / 1.052 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4557/0.676, allocations: 0.9987 MB / 1.053 GB, free: 77.51 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009254/0.6769, allocations: 284.3 kB / 1.054 GB, free: 77.51 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.6772, allocations: 37.22 kB / 1.054 GB, free: 77.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.6778, allocations: 71.64 kB / 1.054 GB, free: 77.51 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.6781, allocations: 117 kB / 1.054 GB, free: 77.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6782, allocations: 52.03 kB / 1.054 GB, free: 77.51 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0008324/0.679, allocations: 0.6266 MB / 1.055 GB, free: 77.45 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.01e-07/0.679, allocations: 0 / 1.055 GB, free: 77.45 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001657/0.6807, allocations: 0.7124 MB / 1.055 GB, free: 77.45 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002088/0.6828, allocations: 0.897 MB / 1.056 GB, free: 77.33 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.6845, allocations: 1.26 MB / 1.057 GB, free: 76.73 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.626e-05/0.6845, allocations: 15.83 kB / 1.057 GB, free: 76.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008959/0.6854, allocations: 0.9963 MB / 1.058 GB, free: 76.16 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.6871, allocations: 0.5665 MB / 1.059 GB, free: 76.12 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.6924, allocations: 3.317 MB / 1.062 GB, free: 74.69 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.693, allocations: 436.5 kB / 1.063 GB, free: 74.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001337/0.6943, allocations: 358.4 kB / 1.063 GB, free: 74.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/0.6956, allocations: 0.5783 MB / 1.063 GB, free: 74.48 MB / 1.01 GB Notification: Performance of SimCode: time 2.314e-06/0.6956, allocations: 0.8438 kB / 1.063 GB, free: 74.48 MB / 1.01 GB Notification: Performance of Templates: time 0.04791/0.7435, allocations: 34.63 MB / 1.097 GB, free: 71.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.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: 7.251752530690283]