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.001514/0.001514, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001119/0.001119, allocations: 170.5 kB / 24.87 MB, free: 8.887 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.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.039 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.912/1.912, allocations: 377.9 MB / 0.6247 GB, free: 8.438 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.673e-06/1.673e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.853e-05, allocations: 4.609 kB / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1294/0.1294, allocations: 148.2 MB / 0.9575 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.1451, allocations: 15.34 MB / 0.9725 GB, free: 13.34 MB / 0.9324 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.1462, allocations: 43.62 kB / 0.9726 GB, free: 13.3 MB / 0.9324 GB Notification: Performance of NFTyping.typeComponents: time 0.0009503/0.1471, allocations: 416.3 kB / 0.9729 GB, free: 12.89 MB / 0.9324 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.15, allocations: 1.503 MB / 0.9744 GB, free: 11.38 MB / 0.9324 GB Notification: Performance of NFTyping.typeClassSections: time 0.003451/0.1534, allocations: 1.465 MB / 0.9758 GB, free: 9.906 MB / 0.9324 GB Notification: Performance of NFFlatten.flatten: time 0.004476/0.1579, allocations: 2.975 MB / 0.9788 GB, free: 6.922 MB / 0.9324 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.1601, allocations: 1.649 MB / 0.9804 GB, free: 5.211 MB / 0.9324 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.1636, allocations: 2.091 MB / 0.9824 GB, free: 3.258 MB / 0.9324 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.1646, allocations: 0.9113 MB / 0.9833 GB, free: 2.344 MB / 0.9324 GB Notification: Performance of NFPackage.collectConstants: time 0.0002993/0.1649, allocations: 216 kB / 0.9835 GB, free: 2.133 MB / 0.9324 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.1667, allocations: 1.104 MB / 0.9846 GB, free: 1.027 MB / 0.9324 GB Notification: Performance of NFScalarize.scalarize: time 0.0005127/0.1672, allocations: 0.814 MB / 0.9854 GB, free: 216 kB / 0.9324 GB Notification: Performance of NFVerifyModel.verify: time 0.0008723/0.1681, allocations: 0.83 MB / 0.9862 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003204/0.1713, allocations: 2.62 MB / 0.9887 GB, free: 12.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1713, allocations: 0 / 0.9887 GB, free: 12.75 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1713, allocations: 3.938 kB / 0.9887 GB, free: 12.75 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.531e-05/0.1714, allocations: 0 / 0.9887 GB, free: 12.75 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.003347/0.1747, allocations: 2.877 MB / 0.9916 GB, free: 9.812 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1748, allocations: 8.031 kB / 0.9916 GB, free: 9.805 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/0.1773, allocations: 0.8673 MB / 0.9924 GB, free: 8.934 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.1789, allocations: 1.337 MB / 0.9937 GB, free: 7.551 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.179, allocations: 135.4 kB / 0.9938 GB, free: 7.418 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.1791, allocations: 184 kB / 0.994 GB, free: 7.238 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.1811, allocations: 1.986 MB / 0.996 GB, free: 5.02 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.1811, allocations: 0 / 0.996 GB, free: 5.02 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.1813, allocations: 72 kB / 0.996 GB, free: 4.949 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.1813, allocations: 48 kB / 0.9961 GB, free: 4.902 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/0.1826, allocations: 0.999 MB / 0.997 GB, free: 3.895 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007077/0.1897, allocations: 3.884 MB / 1.001 GB, free: 15.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.1909, allocations: 0.7892 MB / 1.002 GB, free: 15.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003739/0.1912, allocations: 330.1 kB / 1.002 GB, free: 14.82 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/0.1914, allocations: 81.25 kB / 1.002 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/0.1924, allocations: 1.216 MB / 1.003 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 3.406e-06/0.1924, allocations: 0 / 1.003 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002857/0.1953, allocations: 1.506 MB / 1.005 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.1953, allocations: 201.2 kB / 1.005 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1964, allocations: 1.244 MB / 1.006 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003191/0.1967, allocations: 65.7 kB / 1.006 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005983/0.1973, allocations: 0.953 MB / 1.007 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.1977, allocations: 0.5189 MB / 1.008 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.198, allocations: 281.1 kB / 1.008 GB, free: 8.453 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1981, allocations: 0.5354 MB / 1.008 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.1984, allocations: 199.8 kB / 1.009 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.1989, allocations: 0.7418 MB / 1.009 GB, free: 6.84 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.1996, allocations: 0.5744 MB / 1.01 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.1996, allocations: 4 kB / 1.01 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.001621/0.2012, allocations: 1.119 MB / 1.011 GB, free: 5.102 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.2012, allocations: 11.92 kB / 1.011 GB, free: 5.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.2013, allocations: 4 kB / 1.011 GB, free: 5.086 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/0.202, allocations: 270.2 kB / 1.011 GB, free: 4.801 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.2028, allocations: 335.5 kB / 1.012 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004572/0.2074, allocations: 8.843 MB / 1.02 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.2084, allocations: 138.2 kB / 1.02 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.2085, allocations: 47.95 kB / 1.02 GB, free: 10.88 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.0006212/0.2091, allocations: 251 kB / 1.021 GB, free: 10.62 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.2094, allocations: 238.8 kB / 1.021 GB, free: 10.39 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.2112, allocations: 1.354 MB / 1.022 GB, free: 9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.2113, allocations: 16 kB / 1.022 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2113, allocations: 0 / 1.022 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.2113, allocations: 11.97 kB / 1.022 GB, free: 8.973 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003302/0.2146, allocations: 2.539 MB / 1.025 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2146, allocations: 0 / 1.025 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/0.2153, allocations: 299.6 kB / 1.025 GB, free: 6.062 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006394/0.216, allocations: 270 kB / 1.025 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.216, allocations: 39.97 kB / 1.025 GB, free: 5.738 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004014/0.22, allocations: 8.852 MB / 1.034 GB, free: 12.3 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.22, allocations: 3.938 kB / 1.034 GB, free: 12.3 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.2224, allocations: 1.356 MB / 1.035 GB, free: 10.9 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.223, allocations: 378.2 kB / 1.036 GB, free: 10.53 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.2231, allocations: 31.98 kB / 1.036 GB, free: 10.5 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.2237, allocations: 70.2 kB / 1.036 GB, free: 10.43 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.2239, allocations: 125.8 kB / 1.036 GB, free: 10.31 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.777e-05/0.224, allocations: 64.02 kB / 1.036 GB, free: 10.25 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.0006628/0.2246, allocations: 0.7476 MB / 1.037 GB, free: 9.5 MB / 0.9949 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2246, allocations: 0 / 1.037 GB, free: 9.5 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.001503/0.2261, allocations: 0.7093 MB / 1.037 GB, free: 8.789 MB / 0.9949 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.001543/0.2277, allocations: 0.7634 MB / 1.038 GB, free: 8.195 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.001649/0.2293, allocations: 1.617 MB / 1.04 GB, free: 6.488 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.2293, allocations: 4.656 kB / 1.04 GB, free: 6.484 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.0009697/0.2303, allocations: 1.317 MB / 1.041 GB, free: 5.078 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.2322, allocations: 0.5868 MB / 1.041 GB, free: 4.516 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004607/0.2368, allocations: 3.373 MB / 1.045 GB, free: 1.098 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2371, allocations: 440.8 kB / 1.045 GB, free: 0.6367 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.001103/0.2382, allocations: 360.7 kB / 1.045 GB, free: 284 kB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001255/0.2395, allocations: 0.6852 MB / 1.046 GB, free: 15.59 MB / 1.01 GB Notification: Performance of SimCode: time 1.813e-06/0.2395, allocations: 0 / 1.046 GB, free: 15.59 MB / 1.01 GB Notification: Performance of Templates: time 0.3991/0.6386, allocations: 35.66 MB / 1.081 GB, free: 138.1 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.891043923795223]