Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001407/0.001407, allocations: 81.95 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.001745/0.001745, allocations: 167 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 0.9828/0.9828, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.84/1.84, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.416e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1302/0.1302, allocations: 148.2 MB / 0.9575 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.1455, allocations: 15.31 MB / 0.9725 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001433/0.147, allocations: 43.62 kB / 0.9725 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.148, allocations: 420.3 kB / 0.9729 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.1528, allocations: 1.503 MB / 0.9744 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.003515/0.1563, allocations: 1.457 MB / 0.9758 GB, free: 9.973 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.003683/0.16, allocations: 2.959 MB / 0.9787 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.1618, allocations: 1.641 MB / 0.9803 GB, free: 5.305 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.1648, allocations: 2.089 MB / 0.9823 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.1658, allocations: 0.8996 MB / 0.9832 GB, free: 2.457 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.000247/0.166, allocations: 216 kB / 0.9834 GB, free: 2.246 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.1679, allocations: 1.096 MB / 0.9845 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0005009/0.1684, allocations: 0.8179 MB / 0.9853 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/0.1694, allocations: 0.826 MB / 0.9861 GB, free: 15.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.003073/0.1725, allocations: 2.616 MB / 0.9886 GB, free: 12.88 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1725, allocations: 0 / 0.9886 GB, free: 12.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.916e-06/0.1725, allocations: 3.984 kB / 0.9886 GB, free: 12.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.438e-05/0.1726, allocations: 0 / 0.9886 GB, free: 12.87 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.002957/0.1755, allocations: 2.855 MB / 0.9914 GB, free: 9.953 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1755, allocations: 11.97 kB / 0.9914 GB, free: 9.941 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.1779, allocations: 0.8634 MB / 0.9923 GB, free: 9.074 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1795, allocations: 1.325 MB / 0.9936 GB, free: 7.703 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.51e-05/0.1796, allocations: 131.4 kB / 0.9937 GB, free: 7.574 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.1798, allocations: 184 kB / 0.9939 GB, free: 7.395 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001758/0.1815, allocations: 1.986 MB / 0.9958 GB, free: 5.176 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.1816, allocations: 4 kB / 0.9958 GB, free: 5.172 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.1817, allocations: 72 kB / 0.9959 GB, free: 5.102 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.1817, allocations: 40 kB / 0.9959 GB, free: 5.062 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.1829, allocations: 1.007 MB / 0.9969 GB, free: 4.047 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.1885, allocations: 3.881 MB / 1.001 GB, free: 88 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.1896, allocations: 0.7834 MB / 1.001 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.19, allocations: 326.1 kB / 1.002 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.1902, allocations: 81.25 kB / 1.002 GB, free: 14.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008899/0.1911, allocations: 1.216 MB / 1.003 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=154): time 3.867e-06/0.1911, allocations: 0 / 1.003 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=154): time 0.002734/0.1938, allocations: 1.502 MB / 1.005 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.1939, allocations: 205.2 kB / 1.005 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.1949, allocations: 1.227 MB / 1.006 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.195, allocations: 65.69 kB / 1.006 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008194/0.1959, allocations: 0.9256 MB / 1.007 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000325/0.1962, allocations: 0.5228 MB / 1.007 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.1965, allocations: 285 kB / 1.008 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1966, allocations: 0.5354 MB / 1.008 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1969, allocations: 203.8 kB / 1.008 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005018/0.1974, allocations: 0.738 MB / 1.009 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000679/0.1981, allocations: 0.5822 MB / 1.01 GB, free: 6.441 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1981, allocations: 4 kB / 1.01 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001623/0.1997, allocations: 1.108 MB / 1.011 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.1997, allocations: 7.984 kB / 1.011 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1997, allocations: 3.938 kB / 1.011 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/0.2005, allocations: 270.2 kB / 1.011 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008202/0.2013, allocations: 331.6 kB / 1.011 GB, free: 4.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004326/0.2056, allocations: 8.841 MB / 1.02 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008122/0.2064, allocations: 131.2 kB / 1.02 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.872e-05/0.2065, allocations: 52 kB / 1.02 GB, free: 11.08 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 (165): * Single equations (assignments): 160 * 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.0008279/0.2073, allocations: 250.9 kB / 1.02 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.2077, allocations: 234.8 kB / 1.021 GB, free: 10.59 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.2095, allocations: 1.358 MB / 1.022 GB, free: 9.203 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.2095, allocations: 16 kB / 1.022 GB, free: 9.188 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2095, allocations: 7.984 kB / 1.022 GB, free: 9.18 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.2095, allocations: 7.969 kB / 1.022 GB, free: 9.172 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.2128, allocations: 2.542 MB / 1.024 GB, free: 6.559 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2128, allocations: 4 kB / 1.024 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.2135, allocations: 291.7 kB / 1.025 GB, free: 6.27 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006355/0.2141, allocations: 262.1 kB / 1.025 GB, free: 5.992 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.2142, allocations: 43.95 kB / 1.025 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003949/0.2181, allocations: 8.848 MB / 1.034 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2181, allocations: 0 / 1.034 GB, free: 12.52 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.2204, allocations: 1.363 MB / 1.035 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/0.221, allocations: 366.2 kB / 1.035 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/0.2212, allocations: 39.98 kB / 1.035 GB, free: 10.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.2217, allocations: 69.08 kB / 1.035 GB, free: 10.66 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.2219, allocations: 121.8 kB / 1.036 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.603e-05/0.222, allocations: 67.88 kB / 1.036 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0006464/0.2226, allocations: 0.7354 MB / 1.036 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.2226, allocations: 4 kB / 1.036 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001548/0.2242, allocations: 0.7209 MB / 1.037 GB, free: 9.008 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.001539/0.2257, allocations: 0.7475 MB / 1.038 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.2274, allocations: 1.613 MB / 1.039 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2274, allocations: 0.8906 kB / 1.039 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009869/0.2284, allocations: 1.324 MB / 1.041 GB, free: 5.309 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.23, allocations: 0.5935 MB / 1.041 GB, free: 4.738 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.2345, allocations: 3.282 MB / 1.044 GB, free: 1.406 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/0.2348, allocations: 432.7 kB / 1.045 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00103/0.2359, allocations: 360.6 kB / 1.045 GB, free: 0.5977 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.2371, allocations: 0.6852 MB / 1.046 GB, free: 15.91 MB / 1.01 GB Notification: Performance of SimCode: time 2.404e-06/0.2371, allocations: 0 / 1.046 GB, free: 15.91 MB / 1.01 GB Notification: Performance of Templates: time 0.3755/0.6127, allocations: 35.38 MB / 1.08 GB, free: 138.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.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.65523756435141]