Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001357/0.001357, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001498/0.001498, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9669/0.9669, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.913/1.913, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.554e-05, allocations: 3.156 kB / 0.812 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1221/0.1221, allocations: 148.2 MB / 0.9568 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1349, allocations: 15.33 MB / 0.9717 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006482/0.1356, allocations: 43.62 kB / 0.9718 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008675/0.1364, allocations: 424.3 kB / 0.9722 GB, free: 12.85 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002174/0.1386, allocations: 1.507 MB / 0.9736 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.1406, allocations: 1.469 MB / 0.9751 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001866/0.1425, allocations: 2.979 MB / 0.978 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.1438, allocations: 1.649 MB / 0.9796 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003127/0.1469, allocations: 2.089 MB / 0.9816 GB, free: 3.215 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000803/0.1477, allocations: 0.9074 MB / 0.9825 GB, free: 2.305 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002061/0.1479, allocations: 220 kB / 0.9827 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.1492, allocations: 1.104 MB / 0.9838 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000428/0.1496, allocations: 0.8179 MB / 0.9846 GB, free: 168 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005643/0.1502, allocations: 0.834 MB / 0.9854 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.1522, allocations: 2.62 MB / 0.988 GB, free: 12.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1522, allocations: 0 / 0.988 GB, free: 12.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.002e-06/0.1522, allocations: 0 / 0.988 GB, free: 12.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.1522, allocations: 0 / 0.988 GB, free: 12.7 MB / 0.948 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.002509/0.1547, allocations: 2.881 MB / 0.9908 GB, free: 9.758 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1548, allocations: 12.03 kB / 0.9908 GB, free: 9.746 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.1569, allocations: 0.8634 MB / 0.9917 GB, free: 8.879 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.1581, allocations: 1.333 MB / 0.993 GB, free: 7.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/0.1582, allocations: 131.4 kB / 0.9931 GB, free: 7.371 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.1583, allocations: 184 kB / 0.9933 GB, free: 7.191 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.16, allocations: 1.982 MB / 0.9952 GB, free: 4.977 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.16, allocations: 3.938 kB / 0.9952 GB, free: 4.973 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.84e-05/0.1601, allocations: 79.98 kB / 0.9953 GB, free: 4.895 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.1602, allocations: 40 kB / 0.9953 GB, free: 4.855 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.1611, allocations: 0.999 MB / 0.9963 GB, free: 3.848 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.165, allocations: 3.885 MB / 1 GB, free: 15.89 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.1659, allocations: 0.7996 MB / 1.001 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003279/0.1663, allocations: 326.1 kB / 1.001 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.1664, allocations: 112.1 kB / 1.001 GB, free: 14.66 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.1674, allocations: 1.212 MB / 1.002 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.625e-06/0.1674, allocations: 0 / 1.002 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002322/0.1697, allocations: 1.502 MB / 1.004 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.1698, allocations: 209.2 kB / 1.004 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008654/0.1707, allocations: 1.236 MB / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-05/0.1708, allocations: 65.7 kB / 1.005 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000477/0.1712, allocations: 0.9491 MB / 1.006 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.1715, allocations: 0.5189 MB / 1.007 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.1718, allocations: 285 kB / 1.007 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1719, allocations: 0.5432 MB / 1.008 GB, free: 7.836 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.1721, allocations: 199.8 kB / 1.008 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.1726, allocations: 0.738 MB / 1.009 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009036/0.1735, allocations: 0.5705 MB / 1.009 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1735, allocations: 4 kB / 1.009 GB, free: 6.184 MB / 0.9636 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001355/0.1749, allocations: 1.123 MB / 1.01 GB, free: 5.031 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1749, allocations: 7.938 kB / 1.01 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1749, allocations: 0 / 1.01 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000654/0.1756, allocations: 274.1 kB / 1.01 GB, free: 4.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007274/0.1763, allocations: 339.5 kB / 1.011 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.18, allocations: 8.845 MB / 1.019 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.1805, allocations: 139.1 kB / 1.02 GB, free: 10.85 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.1806, allocations: 51.95 kB / 1.02 GB, free: 10.8 MB / 0.9792 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.0003236/0.1809, allocations: 251.2 kB / 1.02 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.1811, allocations: 230.9 kB / 1.02 GB, free: 10.31 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/0.1828, allocations: 1.354 MB / 1.021 GB, free: 8.926 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.1828, allocations: 16 kB / 1.021 GB, free: 8.91 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.1828, allocations: 0 / 1.021 GB, free: 8.91 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1828, allocations: 11.91 kB / 1.021 GB, free: 8.898 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.1859, allocations: 2.539 MB / 1.024 GB, free: 6.281 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1859, allocations: 4 kB / 1.024 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006528/0.1866, allocations: 303.6 kB / 1.024 GB, free: 5.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005567/0.1871, allocations: 262.1 kB / 1.024 GB, free: 5.703 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.1872, allocations: 39.97 kB / 1.024 GB, free: 5.664 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003808/0.191, allocations: 8.852 MB / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.191, allocations: 3.938 kB / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1924, allocations: 1.359 MB / 1.034 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/0.1928, allocations: 370.2 kB / 1.035 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1929, allocations: 32 kB / 1.035 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.1934, allocations: 76.09 kB / 1.035 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.1935, allocations: 125.7 kB / 1.035 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-05/0.1936, allocations: 59.94 kB / 1.035 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004948/0.1941, allocations: 0.7515 MB / 1.036 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1941, allocations: 0 / 1.036 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001026/0.1951, allocations: 0.7209 MB / 1.037 GB, free: 8.703 MB / 0.9948 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 (157): * Single equations (assignments): 142 * 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.001514/0.1966, allocations: 0.7662 MB / 1.037 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.1978, allocations: 1.605 MB / 1.039 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1979, allocations: 0.6562 kB / 1.039 GB, free: 6.414 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007766/0.1986, allocations: 1.32 MB / 1.04 GB, free: 5.004 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.1998, allocations: 0.5968 MB / 1.041 GB, free: 4.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.2036, allocations: 3.361 MB / 1.044 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2039, allocations: 440.8 kB / 1.044 GB, free: 0.5586 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007403/0.2046, allocations: 356.8 kB / 1.045 GB, free: 208 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.2057, allocations: 0.689 MB / 1.045 GB, free: 15.51 MB / 1.01 GB Notification: Performance of SimCode: time 1.052e-06/0.2057, allocations: 0 / 1.045 GB, free: 15.51 MB / 1.01 GB Notification: Performance of Templates: time 0.3701/0.5758, allocations: 35.11 MB / 1.08 GB, free: 120.9 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & ./Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 6.62801322620362]