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.0008682/0.0008682, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001072/0.001072, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9098/0.9098, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.861/1.861, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.402e-06/1.402e-06, allocations: 0 / 0.8115 GB, free: 1.738 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.362e-05/2.503e-05, allocations: 10.41 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1324/0.1324, allocations: 151.1 MB / 0.9591 GB, free: 10.13 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.15, allocations: 15.56 MB / 0.9743 GB, free: 10.52 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001884/0.1519, allocations: 43.62 kB / 0.9743 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.1532, allocations: 432.3 kB / 0.9747 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.1571, allocations: 1.495 MB / 0.9762 GB, free: 8.551 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002785/0.1599, allocations: 1.469 MB / 0.9776 GB, free: 7.078 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003662/0.1636, allocations: 2.979 MB / 0.9805 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.1657, allocations: 1.649 MB / 0.9822 GB, free: 2.379 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.1694, allocations: 2.096 MB / 0.9842 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.1706, allocations: 0.9152 MB / 0.9851 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/0.1709, allocations: 220 kB / 0.9853 GB, free: 15.29 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001883/0.1728, allocations: 1.092 MB / 0.9864 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.1733, allocations: 0.8218 MB / 0.9872 GB, free: 13.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008337/0.1741, allocations: 0.8222 MB / 0.988 GB, free: 12.55 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00356/0.1777, allocations: 2.635 MB / 0.9906 GB, free: 9.906 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1777, allocations: 0 / 0.9906 GB, free: 9.906 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1777, allocations: 0 / 0.9906 GB, free: 9.906 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.877e-05/0.1778, allocations: 0 / 0.9906 GB, free: 9.906 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.003021/0.1808, allocations: 2.866 MB / 0.9934 GB, free: 6.984 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.1808, allocations: 12.03 kB / 0.9934 GB, free: 6.973 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002261/0.1831, allocations: 0.8673 MB / 0.9942 GB, free: 6.102 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.1846, allocations: 1.392 MB / 0.9956 GB, free: 4.664 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/0.1847, allocations: 131.4 kB / 0.9957 GB, free: 4.535 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.1849, allocations: 192 kB / 0.9959 GB, free: 4.348 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.1871, allocations: 2.1 MB / 0.9979 GB, free: 2.016 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.1872, allocations: 0 / 0.9979 GB, free: 2.016 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.1873, allocations: 79.97 kB / 0.998 GB, free: 1.938 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.674e-05/0.1873, allocations: 44 kB / 0.998 GB, free: 1.895 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00169/0.189, allocations: 1.194 MB / 0.9992 GB, free: 0.6953 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005354/0.1943, allocations: 4.154 MB / 1.003 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.1957, allocations: 0.8976 MB / 1.004 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004732/0.1961, allocations: 394.1 kB / 1.005 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.1963, allocations: 77.27 kB / 1.005 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009818/0.1973, allocations: 1.259 MB / 1.006 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 2.565e-06/0.1973, allocations: 0 / 1.006 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.003071/0.2004, allocations: 1.666 MB / 1.007 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.2004, allocations: 213.2 kB / 1.008 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.2016, allocations: 1.307 MB / 1.009 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.2017, allocations: 65.7 kB / 1.009 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006834/0.2024, allocations: 0.9337 MB / 1.01 GB, free: 5.355 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.2027, allocations: 0.5112 MB / 1.01 GB, free: 4.84 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.203, allocations: 281.2 kB / 1.011 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2031, allocations: 0.5277 MB / 1.011 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/0.2035, allocations: 255.8 kB / 1.011 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/0.2042, allocations: 0.7967 MB / 1.012 GB, free: 2.84 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.2051, allocations: 0.6761 MB / 1.013 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.2051, allocations: 3.938 kB / 1.013 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00183/0.2069, allocations: 1.244 MB / 1.014 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.2069, allocations: 4 kB / 1.014 GB, free: 0.8711 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.2069, allocations: 4 kB / 1.014 GB, free: 0.8672 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007704/0.2077, allocations: 278.2 kB / 1.014 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/0.2085, allocations: 351.5 kB / 1.015 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/0.213, allocations: 8.971 MB / 1.023 GB, free: 6.645 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.2139, allocations: 135.3 kB / 1.024 GB, free: 6.512 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.214, allocations: 55.97 kB / 1.024 GB, free: 6.457 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0005595/0.2145, allocations: 250.9 kB / 1.024 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.2148, allocations: 238.8 kB / 1.024 GB, free: 5.965 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.2169, allocations: 1.463 MB / 1.026 GB, free: 4.469 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/0.2169, allocations: 16 kB / 1.026 GB, free: 4.453 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.2169, allocations: 11.92 kB / 1.026 GB, free: 4.441 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.2169, allocations: 7.969 kB / 1.026 GB, free: 4.434 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.2211, allocations: 2.91 MB / 1.028 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.2211, allocations: 3.984 kB / 1.028 GB, free: 1.43 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.2219, allocations: 311.6 kB / 1.029 GB, free: 1.125 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006831/0.2226, allocations: 262.2 kB / 1.029 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.436e-05/0.2227, allocations: 43.97 kB / 1.029 GB, free: 0.8047 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004568/0.2273, allocations: 8.986 MB / 1.038 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2273, allocations: 4 kB / 1.038 GB, free: 7.191 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.2294, allocations: 1.473 MB / 1.039 GB, free: 5.676 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.23, allocations: 390.4 kB / 1.04 GB, free: 5.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.2301, allocations: 28 kB / 1.04 GB, free: 5.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005101/0.2306, allocations: 79.72 kB / 1.04 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.2308, allocations: 125.8 kB / 1.04 GB, free: 5.066 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.2309, allocations: 67.95 kB / 1.04 GB, free: 5 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008276/0.2318, allocations: 0.826 MB / 1.041 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2318, allocations: 0 / 1.041 GB, free: 4.176 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001513/0.2333, allocations: 0.7132 MB / 1.041 GB, free: 3.461 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.001619/0.2349, allocations: 0.7648 MB / 1.042 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.2369, allocations: 1.722 MB / 1.044 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2369, allocations: 8.844 kB / 1.044 GB, free: 1.047 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/0.2381, allocations: 1.367 MB / 1.045 GB, free: 15.59 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/0.2396, allocations: 0.5926 MB / 1.046 GB, free: 15.02 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004769/0.2444, allocations: 3.4 MB / 1.049 GB, free: 11.57 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.2447, allocations: 432.8 kB / 1.049 GB, free: 11.12 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001163/0.2459, allocations: 456.6 kB / 1.05 GB, free: 10.66 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000379/0.2463, allocations: 176.4 kB / 1.05 GB, free: 10.49 MB / 1.01 GB Notification: Performance of SimCode: time 2.023e-06/0.2463, allocations: 0 / 1.05 GB, free: 10.49 MB / 1.01 GB Notification: Performance of Templates: time 0.4315/0.6777, allocations: 34.37 MB / 1.084 GB, free: 136 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.765619605779648]