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.0009867/0.0009867, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009824/0.0009824, allocations: 161 kB / 24.17 MB, free: 332 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.9765/0.9765, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.242e-06/1.242e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.294e-05/1.418e-05, allocations: 5.547 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1285/0.1285, allocations: 150.3 MB / 0.9068 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.1438, allocations: 15.55 MB / 0.922 GB, free: 352 kB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.145, allocations: 43.62 kB / 0.922 GB, free: 308 kB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009906/0.146, allocations: 421 kB / 0.9224 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.1488, allocations: 1.511 MB / 0.9239 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.1513, allocations: 1.457 MB / 0.9253 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002771/0.154, allocations: 2.952 MB / 0.9282 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001764/0.1558, allocations: 1.681 MB / 0.9299 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002911/0.1587, allocations: 2.074 MB / 0.9319 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.1599, allocations: 0.8957 MB / 0.9328 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.1602, allocations: 216 kB / 0.933 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001571/0.1618, allocations: 1.096 MB / 0.934 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0004719/0.1622, allocations: 0.8218 MB / 0.9348 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.1629, allocations: 0.8183 MB / 0.9356 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.1651, allocations: 2.612 MB / 0.9382 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1651, allocations: 0 / 0.9382 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1651, allocations: 0 / 0.9382 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.664e-05/0.1651, allocations: 4 kB / 0.9382 GB, free: 15.77 MB / 0.9011 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.002457/0.1676, allocations: 2.676 MB / 0.9408 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1676, allocations: 8.031 kB / 0.9408 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.1696, allocations: 0.8061 MB / 0.9416 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1708, allocations: 1.12 MB / 0.9427 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.064e-05/0.1709, allocations: 131.4 kB / 0.9428 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002971/0.1712, allocations: 188 kB / 0.943 GB, free: 10.75 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.1726, allocations: 1.988 MB / 0.9449 GB, free: 8.539 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1726, allocations: 0 / 0.9449 GB, free: 8.539 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.757e-05/0.1727, allocations: 72 kB / 0.945 GB, free: 8.469 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.1727, allocations: 44 kB / 0.945 GB, free: 8.426 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.1737, allocations: 0.8748 MB / 0.9459 GB, free: 7.539 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003755/0.1774, allocations: 2.987 MB / 0.9488 GB, free: 4.488 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008325/0.1782, allocations: 0.7369 MB / 0.9495 GB, free: 3.742 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002912/0.1785, allocations: 279.6 kB / 0.9498 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.1787, allocations: 89.19 kB / 0.9499 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007266/0.1794, allocations: 1.2 MB / 0.9511 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=154): time 2.785e-06/0.1794, allocations: 0 / 0.9511 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of matching and sorting (n=154): time 0.001933/0.1813, allocations: 1.157 MB / 0.9522 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.87e-05/0.1814, allocations: 209.2 kB / 0.9524 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.1824, allocations: 1.128 MB / 0.9535 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.626e-05/0.1825, allocations: 69.7 kB / 0.9536 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.1828, allocations: 0.6237 MB / 0.9542 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.1831, allocations: 0.515 MB / 0.9547 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.1833, allocations: 259.4 kB / 0.9549 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.1834, allocations: 365.8 kB / 0.9553 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.1836, allocations: 170.7 kB / 0.9554 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.184, allocations: 0.6631 MB / 0.9561 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005522/0.1846, allocations: 0.553 MB / 0.9566 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1846, allocations: 0 / 0.9566 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001049/0.1856, allocations: 0.8125 MB / 0.9574 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1857, allocations: 10.66 kB / 0.9574 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1857, allocations: 0 / 0.9574 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/0.1863, allocations: 259.9 kB / 0.9577 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.187, allocations: 327.5 kB / 0.958 GB, free: 10.64 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002988/0.19, allocations: 6.046 MB / 0.9639 GB, free: 4.152 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.1904, allocations: 127.3 kB / 0.964 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.1905, allocations: 35.95 kB / 0.964 GB, free: 3.992 MB / 0.9167 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.0003088/0.1908, allocations: 215 kB / 0.9642 GB, free: 3.773 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.191, allocations: 159.8 kB / 0.9644 GB, free: 3.613 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.1923, allocations: 1.082 MB / 0.9654 GB, free: 2.504 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.1923, allocations: 19.94 kB / 0.9655 GB, free: 2.484 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1923, allocations: 3.938 kB / 0.9655 GB, free: 2.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1923, allocations: 7.969 kB / 0.9655 GB, free: 2.473 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002572/0.1949, allocations: 2.059 MB / 0.9675 GB, free: 368 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1949, allocations: 0 / 0.9675 GB, free: 368 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.1955, allocations: 291.6 kB / 0.9678 GB, free: 76 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005205/0.196, allocations: 228.1 kB / 0.968 GB, free: 15.84 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/0.1961, allocations: 43.95 kB / 0.968 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002608/0.1987, allocations: 6.063 MB / 0.9739 GB, free: 9.285 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1987, allocations: 4 kB / 0.974 GB, free: 9.281 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.2001, allocations: 1.019 MB / 0.9749 GB, free: 8.227 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.2004, allocations: 290.3 kB / 0.9752 GB, free: 7.941 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2006, allocations: 35.98 kB / 0.9753 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.201, allocations: 66.77 kB / 0.9753 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.2011, allocations: 121.7 kB / 0.9754 GB, free: 7.727 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.819e-05/0.2012, allocations: 51.94 kB / 0.9755 GB, free: 7.676 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004653/0.2017, allocations: 0.6232 MB / 0.9761 GB, free: 7.047 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.2017, allocations: 0 / 0.9761 GB, free: 7.047 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001136/0.2028, allocations: 0.7092 MB / 0.9768 GB, free: 6.336 MB / 0.9323 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.00161/0.2044, allocations: 0.8938 MB / 0.9777 GB, free: 5.707 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.2055, allocations: 1.251 MB / 0.9789 GB, free: 4.387 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.2055, allocations: 16.89 kB / 0.9789 GB, free: 4.371 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006621/0.2062, allocations: 1.005 MB / 0.9799 GB, free: 3.305 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.2072, allocations: 0.5662 MB / 0.9804 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.2108, allocations: 3.29 MB / 0.9836 GB, free: 15.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.2111, allocations: 436.7 kB / 0.9841 GB, free: 14.97 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007311/0.2118, allocations: 372.5 kB / 0.9844 GB, free: 14.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.2129, allocations: 0.577 MB / 0.985 GB, free: 14.02 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/0.2129, allocations: 0 / 0.985 GB, free: 14.02 MB / 0.948 GB Notification: Performance of Templates: time 0.04018/0.2531, allocations: 34.83 MB / 1.019 GB, free: 11.83 MB / 0.9792 GB " [Timeout remaining time 300] 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.221970778889954]