Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001162/0.001162, allocations: 76.94 kB / 19.93 MB, free: 4.543 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.00125/0.00125, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.9699/0.9699, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.519/2.519, allocations: 438.8 MB / 0.6826 GB, free: 13.55 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.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winDir.y|nor.pWin|weaDat.winSpe",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.705e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1453/0.1453, allocations: 147.7 MB / 0.9829 GB, free: 9.844 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1562, allocations: 8.934 MB / 0.9916 GB, free: 0.8789 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008774/0.1571, allocations: 23.81 kB / 0.9916 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.1578, allocations: 281.5 kB / 0.9919 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.16, allocations: 0.975 MB / 0.9928 GB, free: 15.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.162, allocations: 1.09 MB / 0.9939 GB, free: 14.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.1636, allocations: 1.799 MB / 0.9956 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.1652, allocations: 0.9965 MB / 0.9966 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.1666, allocations: 1.054 MB / 0.9976 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006017/0.1672, allocations: 490.5 kB / 0.9981 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.1674, allocations: 132 kB / 0.9982 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.1692, allocations: 1.061 MB / 0.9993 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.1694, allocations: 394.7 kB / 0.9996 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.1698, allocations: 454.8 kB / 1 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.172, allocations: 1.795 MB / 1.002 GB, free: 6.359 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.172, allocations: 4 kB / 1.002 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.172, allocations: 0 / 1.002 GB, free: 6.355 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.448e-05/0.172, allocations: 4 kB / 1.002 GB, free: 6.352 MB / 0.9636 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.00193/0.1739, allocations: 1.647 MB / 1.003 GB, free: 4.672 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.174, allocations: 8.031 kB / 1.003 GB, free: 4.664 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.1753, allocations: 410.8 kB / 1.004 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.1761, allocations: 0.6712 MB / 1.005 GB, free: 3.559 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.926e-05/0.1762, allocations: 74 kB / 1.005 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.175e-05/0.1762, allocations: 111.9 kB / 1.005 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/0.1772, allocations: 1.102 MB / 1.006 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.1772, allocations: 7.984 kB / 1.006 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/0.1773, allocations: 43.98 kB / 1.006 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.1773, allocations: 27.94 kB / 1.006 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007424/0.178, allocations: 0.6366 MB / 1.006 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.1806, allocations: 1.884 MB / 1.008 GB, free: 15.51 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007142/0.1814, allocations: 0.5214 MB / 1.009 GB, free: 14.98 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001859/0.1815, allocations: 183.7 kB / 1.009 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001372/0.1817, allocations: 56.97 kB / 1.009 GB, free: 14.75 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.1822, allocations: 0.6314 MB / 1.01 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=103): time 2.535e-06/0.1822, allocations: 0 / 1.01 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of matching and sorting (n=103): time 0.001355/0.1835, allocations: 0.7057 MB / 1.01 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.1836, allocations: 208.8 kB / 1.011 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004345/0.184, allocations: 0.6107 MB / 1.011 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.1841, allocations: 49.7 kB / 1.011 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.1843, allocations: 375.3 kB / 1.012 GB, free: 12.03 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.1844, allocations: 345 kB / 1.012 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.1848, allocations: 194.4 kB / 1.012 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.1849, allocations: 353.8 kB / 1.012 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.185, allocations: 108.8 kB / 1.012 GB, free: 11.03 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.1853, allocations: 400.7 kB / 1.013 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004122/0.1857, allocations: 381.2 kB / 1.013 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1857, allocations: 0 / 1.013 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.0007762/0.1865, allocations: 0.5349 MB / 1.014 GB, free: 9.641 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1865, allocations: 8 kB / 1.014 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1865, allocations: 0 / 1.014 GB, free: 9.633 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/0.187, allocations: 157.5 kB / 1.014 GB, free: 9.473 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.1876, allocations: 235.6 kB / 1.014 GB, free: 9.242 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.1892, allocations: 2.514 MB / 1.017 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.1895, allocations: 98.61 kB / 1.017 GB, free: 6.457 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.1896, allocations: 31.97 kB / 1.017 GB, free: 6.426 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 (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.000215/0.1898, allocations: 179.1 kB / 1.017 GB, free: 6.238 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1899, allocations: 95.89 kB / 1.017 GB, free: 6.145 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009547/0.1908, allocations: 0.7026 MB / 1.018 GB, free: 5.426 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1908, allocations: 15.98 kB / 1.018 GB, free: 5.41 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.1908, allocations: 3.984 kB / 1.018 GB, free: 5.406 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1908, allocations: 3.984 kB / 1.018 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001759/0.1926, allocations: 1.383 MB / 1.019 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1926, allocations: 0 / 1.019 GB, free: 3.98 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.1931, allocations: 202.6 kB / 1.019 GB, free: 3.781 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003823/0.1934, allocations: 149.5 kB / 1.019 GB, free: 3.629 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.1935, allocations: 23.97 kB / 1.019 GB, free: 3.605 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001347/0.1948, allocations: 2.508 MB / 1.022 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1948, allocations: 0 / 1.022 GB, free: 0.9141 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007608/0.1956, allocations: 0.7023 MB / 1.023 GB, free: 192 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002269/0.1958, allocations: 174.9 kB / 1.023 GB, free: 16 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.17e-05/0.1959, allocations: 24.08 kB / 1.023 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/0.1962, allocations: 51.95 kB / 1.023 GB, free: 15.94 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.1963, allocations: 76.84 kB / 1.023 GB, free: 15.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.1964, allocations: 35.97 kB / 1.023 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002251/0.1966, allocations: 308.3 kB / 1.023 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1966, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008252/0.1974, allocations: 474.8 kB / 1.024 GB, free: 15.07 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 (111): * Single equations (assignments): 99 * 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.001708/0.1991, allocations: 0.8672 MB / 1.024 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000783/0.1999, allocations: 0.6836 MB / 1.025 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.1999, allocations: 8.188 kB / 1.025 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.2004, allocations: 0.5171 MB / 1.026 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.2011, allocations: 375.2 kB / 1.026 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.2037, allocations: 1.837 MB / 1.028 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.2038, allocations: 235.9 kB / 1.028 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005298/0.2044, allocations: 223.7 kB / 1.028 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/0.205, allocations: 376.9 kB / 1.029 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of SimCode: time 1.122e-06/0.205, allocations: 0 / 1.029 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of Templates: time 0.02691/0.2319, allocations: 22.35 MB / 1.05 GB, free: 4.156 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.8849633489735425]