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.0015/0.0015, allocations: 83.59 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.001692/0.001692, allocations: 165 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.9977/0.9977, allocations: 177.1 MB / 204.2 MB, free: 5.605 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.948/1.948, allocations: 377.9 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.412e-06/1.412e-06, allocations: 0 / 0.8115 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.709e-05, allocations: 6.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1392/0.1392, allocations: 148.4 MB / 0.9564 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.15, allocations: 8.916 MB / 0.9651 GB, free: 3.949 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009059/0.1509, allocations: 31.75 kB / 0.9652 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008863/0.1518, allocations: 277.6 kB / 0.9654 GB, free: 3.645 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.1545, allocations: 1.018 MB / 0.9664 GB, free: 2.617 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.1567, allocations: 1.126 MB / 0.9675 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001994/0.1587, allocations: 1.803 MB / 0.9693 GB, free: 15.68 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.1602, allocations: 0.9752 MB / 0.9702 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.1625, allocations: 1.073 MB / 0.9713 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007509/0.1632, allocations: 0.5141 MB / 0.9718 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002298/0.1634, allocations: 140 kB / 0.9719 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001907/0.1654, allocations: 1.022 MB / 0.9729 GB, free: 11.96 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003309/0.1657, allocations: 406.6 kB / 0.9733 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005232/0.1662, allocations: 478.8 kB / 0.9738 GB, free: 11.09 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.1695, allocations: 1.826 MB / 0.9755 GB, free: 9.262 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1695, allocations: 3.938 kB / 0.9755 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1695, allocations: 0 / 0.9755 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.146e-05/0.1695, allocations: 0 / 0.9755 GB, free: 9.258 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.002634/0.1722, allocations: 1.815 MB / 0.9773 GB, free: 7.398 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1722, allocations: 12.03 kB / 0.9773 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.1737, allocations: 446 kB / 0.9778 GB, free: 6.949 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1748, allocations: 0.8448 MB / 0.9786 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.1749, allocations: 78 kB / 0.9786 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.1751, allocations: 108 kB / 0.9788 GB, free: 5.891 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/0.1765, allocations: 1.255 MB / 0.98 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.1765, allocations: 0 / 0.98 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.834e-05/0.1765, allocations: 43.98 kB / 0.98 GB, free: 4.445 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.1766, allocations: 31.88 kB / 0.9801 GB, free: 4.414 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00106/0.1776, allocations: 0.8661 MB / 0.9809 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.1812, allocations: 2.66 MB / 0.9835 GB, free: 0.8203 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.1823, allocations: 0.6037 MB / 0.9841 GB, free: 216 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.1826, allocations: 234.5 kB / 0.9843 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.1828, allocations: 60.95 kB / 0.9844 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006669/0.1835, allocations: 0.679 MB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of pre-optimization done (n=103): time 2.935e-06/0.1835, allocations: 3.938 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=103): time 0.002294/0.1857, allocations: 1.03 MB / 0.986 GB, free: 14.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.312e-05/0.1858, allocations: 208.8 kB / 0.9862 GB, free: 13.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.1865, allocations: 0.6986 MB / 0.9869 GB, free: 13.15 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/0.1866, allocations: 53.7 kB / 0.987 GB, free: 13.09 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.1869, allocations: 0.5196 MB / 0.9875 GB, free: 12.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/0.1871, allocations: 345 kB / 0.9878 GB, free: 12.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.1873, allocations: 216.1 kB / 0.988 GB, free: 12.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1875, allocations: 0.516 MB / 0.9885 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.1878, allocations: 169.9 kB / 0.9887 GB, free: 11.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.1883, allocations: 0.5096 MB / 0.9892 GB, free: 10.73 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/0.189, allocations: 471.1 kB / 0.9896 GB, free: 10.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.189, allocations: 0 / 0.9896 GB, free: 10.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001405/0.1904, allocations: 0.8046 MB / 0.9904 GB, free: 9.434 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1904, allocations: 8 kB / 0.9904 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.1904, allocations: 0 / 0.9904 GB, free: 9.426 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006321/0.191, allocations: 163.3 kB / 0.9906 GB, free: 9.258 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.1916, allocations: 223.7 kB / 0.9908 GB, free: 9.039 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/0.194, allocations: 3.676 MB / 0.9944 GB, free: 5.117 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.1946, allocations: 104.3 kB / 0.9945 GB, free: 5.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.1946, allocations: 43.97 kB / 0.9945 GB, free: 4.977 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.0003461/0.195, allocations: 223 kB / 0.9947 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.1952, allocations: 143.3 kB / 0.9949 GB, free: 4.605 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.1967, allocations: 0.9758 MB / 0.9958 GB, free: 3.605 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.1967, allocations: 15.94 kB / 0.9958 GB, free: 3.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1967, allocations: 4 kB / 0.9958 GB, free: 3.586 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.1967, allocations: 11.91 kB / 0.9959 GB, free: 3.574 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.1993, allocations: 1.916 MB / 0.9977 GB, free: 1.602 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1993, allocations: 0 / 0.9977 GB, free: 1.602 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/0.1997, allocations: 191.7 kB / 0.9979 GB, free: 1.414 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004593/0.2002, allocations: 151.2 kB / 0.9981 GB, free: 1.258 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-05/0.2002, allocations: 31.98 kB / 0.9981 GB, free: 1.227 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.2022, allocations: 3.694 MB / 1.002 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2022, allocations: 7.922 kB / 1.002 GB, free: 13.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.2036, allocations: 1.013 MB / 1.003 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003732/0.204, allocations: 242.9 kB / 1.003 GB, free: 12 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.2041, allocations: 24 kB / 1.003 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.2045, allocations: 61.81 kB / 1.003 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.2047, allocations: 80.84 kB / 1.003 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.2048, allocations: 47.97 kB / 1.003 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0004315/0.2052, allocations: 467 kB / 1.004 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.2052, allocations: 4 kB / 1.004 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001128/0.2063, allocations: 482.8 kB / 1.004 GB, free: 10.86 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.001542/0.2079, allocations: 0.749 MB / 1.005 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.2092, allocations: 0.9271 MB / 1.006 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.2092, allocations: 4.406 kB / 1.006 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007156/0.21, allocations: 0.6902 MB / 1.006 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.2111, allocations: 395.9 kB / 1.007 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.2145, allocations: 1.872 MB / 1.009 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.2147, allocations: 235.9 kB / 1.009 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0007176/0.2154, allocations: 299.7 kB / 1.009 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.2157, allocations: 128.4 kB / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of SimCode: time 2.134e-06/0.2157, allocations: 0 / 1.009 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of Templates: time 0.02997/0.2457, allocations: 20.91 MB / 1.03 GB, free: 1.059 MB / 0.9792 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.231181495822966]