Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.001075/0.001075, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.00113/0.00113, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.9478/0.9478, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.823/1.823, 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_CpLowRise,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_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,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_CpLowRise") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.519e-05/1.638e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1253/0.1253, allocations: 148.1 MB / 0.9574 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.1397, allocations: 15.05 MB / 0.9721 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009051/0.1406, allocations: 35.69 kB / 0.9721 GB, free: 13.75 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.1414, allocations: 408.4 kB / 0.9725 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.1436, allocations: 1.332 MB / 0.9738 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.1454, allocations: 1.344 MB / 0.9751 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.1474, allocations: 2.785 MB / 0.9778 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.1487, allocations: 1.587 MB / 0.9794 GB, free: 6.223 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.1511, allocations: 1.988 MB / 0.9813 GB, free: 4.383 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007465/0.1519, allocations: 0.7672 MB / 0.9821 GB, free: 3.613 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.1521, allocations: 204 kB / 0.9823 GB, free: 3.414 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001503/0.1536, allocations: 0.928 MB / 0.9832 GB, free: 2.484 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.1539, allocations: 0.5802 MB / 0.9838 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005004/0.1544, allocations: 0.7092 MB / 0.9844 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.1563, allocations: 2.192 MB / 0.9866 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1563, allocations: 0 / 0.9866 GB, free: 14.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1563, allocations: 4 kB / 0.9866 GB, free: 14.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.1563, allocations: 0 / 0.9866 GB, free: 14.98 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.002163/0.1585, allocations: 2.369 MB / 0.9889 GB, free: 12.56 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1585, allocations: 12.03 kB / 0.9889 GB, free: 12.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002331/0.1608, allocations: 0.8207 MB / 0.9897 GB, free: 11.72 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.162, allocations: 1.084 MB / 0.9908 GB, free: 10.61 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.1621, allocations: 135.4 kB / 0.9909 GB, free: 10.47 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.1622, allocations: 180 kB / 0.9911 GB, free: 10.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.1638, allocations: 1.987 MB / 0.993 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.1638, allocations: 0 / 0.993 GB, free: 8.078 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.1639, allocations: 72 kB / 0.9931 GB, free: 8.008 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.1641, allocations: 44 kB / 0.9931 GB, free: 7.965 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.1651, allocations: 1.007 MB / 0.9941 GB, free: 6.949 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.1691, allocations: 3.723 MB / 0.9977 GB, free: 3.156 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009341/0.17, allocations: 0.7775 MB / 0.9985 GB, free: 2.379 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.1704, allocations: 322.1 kB / 0.9988 GB, free: 2.062 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003739/0.1707, allocations: 133.2 kB / 0.9989 GB, free: 1.934 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007564/0.1715, allocations: 1.208 MB / 1 GB, free: 0.5508 MB / 0.948 GB Notification: Performance of pre-optimization done (n=154): time 2.474e-06/0.1715, allocations: 3.938 kB / 1 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of matching and sorting (n=154): time 0.002313/0.1738, allocations: 1.436 MB / 1.002 GB, free: 15.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.127e-05/0.1739, allocations: 209.2 kB / 1.002 GB, free: 14.84 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.1743, allocations: 0.7059 MB / 1.002 GB, free: 14.12 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/0.1744, allocations: 65.7 kB / 1.002 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003265/0.1747, allocations: 0.7189 MB / 1.003 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004966/0.1752, allocations: 0.5228 MB / 1.004 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.1755, allocations: 281 kB / 1.004 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1756, allocations: 0.5393 MB / 1.004 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.1759, allocations: 195.8 kB / 1.005 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.1763, allocations: 480.6 kB / 1.005 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006324/0.1769, allocations: 0.59 MB / 1.006 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1769, allocations: 0 / 1.006 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001331/0.1782, allocations: 1.081 MB / 1.007 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1782, allocations: 8 kB / 1.007 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1783, allocations: 4 kB / 1.007 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/0.1789, allocations: 250.2 kB / 1.007 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/0.1796, allocations: 335.5 kB / 1.007 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003625/0.1833, allocations: 8.828 MB / 1.016 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.1837, allocations: 123.2 kB / 1.016 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-05/0.1838, allocations: 47.95 kB / 1.016 GB, free: 15.36 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 (169): * Single equations (assignments): 164 * 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.0002891/0.184, allocations: 255.1 kB / 1.016 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.1842, allocations: 175.2 kB / 1.017 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/0.1861, allocations: 1.317 MB / 1.018 GB, free: 13.57 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1861, allocations: 16 kB / 1.018 GB, free: 13.56 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1861, allocations: 4 kB / 1.018 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.1861, allocations: 7.969 kB / 1.018 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.1888, allocations: 2.383 MB / 1.02 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1888, allocations: 0 / 1.02 GB, free: 11.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/0.1895, allocations: 299.6 kB / 1.02 GB, free: 10.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005315/0.19, allocations: 242.2 kB / 1.021 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/0.1901, allocations: 47.95 kB / 1.021 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003497/0.1936, allocations: 8.831 MB / 1.029 GB, free: 1.086 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1936, allocations: 4 kB / 1.029 GB, free: 1.082 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.195, allocations: 1.297 MB / 1.031 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.1954, allocations: 314.5 kB / 1.031 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.1955, allocations: 39.98 kB / 1.031 GB, free: 15.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004395/0.1959, allocations: 74.08 kB / 1.031 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.1961, allocations: 117.8 kB / 1.031 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/0.1961, allocations: 59.94 kB / 1.031 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005269/0.1967, allocations: 442.8 kB / 1.032 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.1967, allocations: 0 / 1.032 GB, free: 14.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001083/0.1977, allocations: 0.6389 MB / 1.032 GB, free: 14.08 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.00131/0.1991, allocations: 0.7252 MB / 1.033 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.2004, allocations: 1.619 MB / 1.035 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2004, allocations: 0.8906 kB / 1.035 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008448/0.2012, allocations: 1.324 MB / 1.036 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.2024, allocations: 0.5654 MB / 1.036 GB, free: 9.859 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.2056, allocations: 2.578 MB / 1.039 GB, free: 7.238 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.2058, allocations: 314.3 kB / 1.039 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007276/0.2065, allocations: 318.2 kB / 1.04 GB, free: 6.594 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.2076, allocations: 0.6422 MB / 1.04 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of SimCode: time 7.11e-07/0.2076, allocations: 0 / 1.04 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of Templates: time 0.3655/0.5731, allocations: 30.86 MB / 1.07 GB, free: 139.3 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.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.556855879258364]