Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.001027/0.001027, allocations: 79.56 kB / 20.97 MB, free: 3.598 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.001584/0.001584, allocations: 169 kB / 24.28 MB, free: 296 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.9551/0.9551, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.874/1.874, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.123e-05/2.343e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1382/0.1382, allocations: 150 MB / 0.958 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.009409/0.1477, allocations: 10.82 MB / 0.9686 GB, free: 0.6875 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004282/0.1481, allocations: 31.75 kB / 0.9686 GB, free: 0.6562 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006732/0.1488, allocations: 285.5 kB / 0.9689 GB, free: 384 kB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001732/0.1505, allocations: 1.03 MB / 0.9699 GB, free: 15.34 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.152, allocations: 1.129 MB / 0.971 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1532, allocations: 1.81 MB / 0.9728 GB, free: 12.39 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008745/0.1541, allocations: 0.9752 MB / 0.9737 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001398/0.1555, allocations: 1.074 MB / 0.9748 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000448/0.1559, allocations: 0.5141 MB / 0.9753 GB, free: 9.832 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.1561, allocations: 140 kB / 0.9754 GB, free: 9.695 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.1574, allocations: 1.029 MB / 0.9764 GB, free: 8.664 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0002503/0.1577, allocations: 410.7 kB / 0.9768 GB, free: 8.262 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0003427/0.158, allocations: 474.8 kB / 0.9772 GB, free: 7.797 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.1597, allocations: 1.83 MB / 0.979 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1597, allocations: 0 / 0.979 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1597, allocations: 0 / 0.979 GB, free: 5.961 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.1597, allocations: 3.938 kB / 0.979 GB, free: 5.957 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001975/0.1617, allocations: 1.807 MB / 0.9808 GB, free: 4.105 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.1618, allocations: 12.03 kB / 0.9808 GB, free: 4.094 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.163, allocations: 450.1 kB / 0.9812 GB, free: 3.652 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/0.1639, allocations: 0.837 MB / 0.9821 GB, free: 2.785 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.164, allocations: 78 kB / 0.9821 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.1641, allocations: 107.9 kB / 0.9822 GB, free: 2.602 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1654, allocations: 1.256 MB / 0.9835 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1654, allocations: 3.984 kB / 0.9835 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.608e-05/0.1655, allocations: 44 kB / 0.9835 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.1655, allocations: 28 kB / 0.9835 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009771/0.1665, allocations: 0.8661 MB / 0.9844 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.1696, allocations: 2.675 MB / 0.987 GB, free: 13.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.1705, allocations: 0.5959 MB / 0.9876 GB, free: 12.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.1708, allocations: 219.2 kB / 0.9878 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001407/0.1709, allocations: 68.95 kB / 0.9879 GB, free: 12.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006515/0.1716, allocations: 0.6829 MB / 0.9885 GB, free: 11.88 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 2.605e-06/0.1716, allocations: 0 / 0.9885 GB, free: 11.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=103): time 0.001929/0.1735, allocations: 1.046 MB / 0.9895 GB, free: 10.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.1736, allocations: 204.9 kB / 0.9897 GB, free: 10.57 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.1742, allocations: 0.6831 MB / 0.9904 GB, free: 9.875 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.1743, allocations: 61.69 kB / 0.9905 GB, free: 9.809 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002726/0.1745, allocations: 0.5119 MB / 0.991 GB, free: 9.289 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.1747, allocations: 349 kB / 0.9913 GB, free: 8.945 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.1749, allocations: 220.2 kB / 0.9915 GB, free: 8.723 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1751, allocations: 0.5082 MB / 0.992 GB, free: 8.207 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002801/0.1754, allocations: 173.8 kB / 0.9922 GB, free: 8.039 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.1758, allocations: 0.5175 MB / 0.9927 GB, free: 7.438 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008816/0.1767, allocations: 459.1 kB / 0.9931 GB, free: 6.977 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1767, allocations: 4 kB / 0.9931 GB, free: 6.973 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001192/0.1779, allocations: 0.8086 MB / 0.9939 GB, free: 6.145 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.1779, allocations: 9.406 kB / 0.9939 GB, free: 6.137 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.1779, allocations: 0 / 0.9939 GB, free: 6.137 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.1785, allocations: 163.2 kB / 0.9941 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/0.1789, allocations: 223.7 kB / 0.9943 GB, free: 5.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.1809, allocations: 3.68 MB / 0.9979 GB, free: 1.824 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.1812, allocations: 107.5 kB / 0.998 GB, free: 1.719 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.1813, allocations: 43.97 kB / 0.998 GB, free: 1.676 MB / 0.948 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 (121): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.1815, allocations: 223.2 kB / 0.9982 GB, free: 1.445 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.1816, allocations: 135.3 kB / 0.9984 GB, free: 1.312 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.183, allocations: 0.9913 MB / 0.9993 GB, free: 304 kB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.183, allocations: 8 kB / 0.9993 GB, free: 296 kB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.183, allocations: 4 kB / 0.9993 GB, free: 292 kB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.183, allocations: 3.984 kB / 0.9993 GB, free: 288 kB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.1853, allocations: 1.924 MB / 1.001 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1853, allocations: 0 / 1.001 GB, free: 14.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.1858, allocations: 183.8 kB / 1.001 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004048/0.1862, allocations: 155.2 kB / 1.002 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.1862, allocations: 35.97 kB / 1.002 GB, free: 13.92 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.1879, allocations: 3.686 MB / 1.005 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1879, allocations: 0 / 1.005 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001173/0.1891, allocations: 1.013 MB / 1.006 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.1893, allocations: 246.9 kB / 1.006 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/0.1894, allocations: 35.88 kB / 1.006 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.1898, allocations: 57.64 kB / 1.006 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.1899, allocations: 92.77 kB / 1.007 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.1899, allocations: 43.97 kB / 1.007 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0006148/0.1906, allocations: 458.9 kB / 1.007 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.1906, allocations: 0 / 1.007 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0008413/0.1914, allocations: 474.9 kB / 1.008 GB, free: 7.566 MB / 0.9636 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 (112): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001428/0.1928, allocations: 0.7582 MB / 1.008 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.1939, allocations: 0.9231 MB / 1.009 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1939, allocations: 8.469 kB / 1.009 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0005763/0.1945, allocations: 0.6863 MB / 1.01 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.1953, allocations: 396.6 kB / 1.01 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.1978, allocations: 1.884 MB / 1.012 GB, free: 3 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.1979, allocations: 231.9 kB / 1.012 GB, free: 2.742 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0005394/0.1985, allocations: 295.8 kB / 1.013 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.1987, allocations: 128.4 kB / 1.013 GB, free: 2.324 MB / 0.9636 GB Notification: Performance of SimCode: time 9.11e-07/0.1987, allocations: 7.938 kB / 1.013 GB, free: 2.316 MB / 0.9636 GB Notification: Performance of Templates: time 0.0244/0.2231, allocations: 20.91 MB / 1.033 GB, free: 13.76 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.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.228647743118927]