Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001612/0.001612, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.002007/0.002007, allocations: 173 kB / 23.49 MB, free: 1.055 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.9778/0.9778, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.073/2.073, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|north.pWin|west.pWin|east.pWin|south.pWin",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.317e-05, allocations: 10.28 kB / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1389/0.1389, allocations: 164.2 MB / 1.039 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4412/0.5801, allocations: 17.79 MB / 1.056 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.5816, allocations: 40.28 kB / 1.056 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.5829, allocations: 0.5659 MB / 1.057 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.003775/0.5867, allocations: 1.866 MB / 1.058 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.5893, allocations: 1.461 MB / 1.06 GB, free: 47.73 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002799/0.5921, allocations: 2.959 MB / 1.063 GB, free: 47.72 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.5939, allocations: 1.562 MB / 1.064 GB, free: 47.55 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003499/0.5974, allocations: 2.123 MB / 1.066 GB, free: 47.38 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.5985, allocations: 0.9342 MB / 1.067 GB, free: 47.28 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002922/0.5988, allocations: 229.3 kB / 1.067 GB, free: 47.28 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.6008, allocations: 1.472 MB / 1.069 GB, free: 47.19 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004265/0.6012, allocations: 0.8397 MB / 1.07 GB, free: 47.08 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007155/0.6019, allocations: 0.8457 MB / 1.07 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.6046, allocations: 2.802 MB / 1.073 GB, free: 46.6 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6046, allocations: 0 / 1.073 GB, free: 46.6 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6046, allocations: 0.9688 kB / 1.073 GB, free: 46.6 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.969e-05/0.6047, allocations: 0 / 1.073 GB, free: 46.6 MB / 1.01 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.002682/0.6074, allocations: 2.872 MB / 1.076 GB, free: 45.15 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.6074, allocations: 9.188 kB / 1.076 GB, free: 45.15 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.6098, allocations: 0.8709 MB / 1.077 GB, free: 44.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.6111, allocations: 1.368 MB / 1.078 GB, free: 44.48 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.814e-05/0.6112, allocations: 134.1 kB / 1.078 GB, free: 44.47 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.6113, allocations: 186.7 kB / 1.079 GB, free: 44.47 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.613, allocations: 2.169 MB / 1.081 GB, free: 43.29 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.613, allocations: 3.094 kB / 1.081 GB, free: 43.29 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.6132, allocations: 80.19 kB / 1.081 GB, free: 43.29 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.6132, allocations: 41.84 kB / 1.081 GB, free: 43.29 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.6145, allocations: 1.198 MB / 1.082 GB, free: 43.27 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/0.6187, allocations: 4.19 MB / 1.086 GB, free: 42.1 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.6199, allocations: 0.8905 MB / 1.087 GB, free: 42.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.6204, allocations: 375.9 kB / 1.087 GB, free: 42.03 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.6207, allocations: 125.2 kB / 1.087 GB, free: 42.03 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008935/0.6215, allocations: 1.269 MB / 1.089 GB, free: 41.18 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.346e-06/0.6216, allocations: 5.188 kB / 1.089 GB, free: 41.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.00316/0.6247, allocations: 1.668 MB / 1.09 GB, free: 40.94 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.6248, allocations: 215.1 kB / 1.09 GB, free: 40.72 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001181/0.626, allocations: 1.284 MB / 1.092 GB, free: 40.47 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.588e-05/0.626, allocations: 67.45 kB / 1.092 GB, free: 40.44 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.6265, allocations: 0.9223 MB / 1.093 GB, free: 40.06 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.6267, allocations: 0.5135 MB / 1.093 GB, free: 39.72 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002924/0.627, allocations: 276.7 kB / 1.093 GB, free: 39.69 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/0.6271, allocations: 0.5291 MB / 1.094 GB, free: 39.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004336/0.6275, allocations: 257.7 kB / 1.094 GB, free: 39.21 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006322/0.6282, allocations: 0.9358 MB / 1.095 GB, free: 38.45 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.6292, allocations: 0.6912 MB / 1.096 GB, free: 38.38 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6292, allocations: 1.219 kB / 1.096 GB, free: 38.38 MB / 1.01 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001859/0.6311, allocations: 1.242 MB / 1.097 GB, free: 38.14 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6311, allocations: 6.906 kB / 1.097 GB, free: 38.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6311, allocations: 1.25 kB / 1.097 GB, free: 38.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007787/0.6319, allocations: 272.1 kB / 1.097 GB, free: 38.08 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008586/0.6327, allocations: 346.9 kB / 1.098 GB, free: 38.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.6356, allocations: 8.973 MB / 1.106 GB, free: 29.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006692/0.6362, allocations: 136.7 kB / 1.106 GB, free: 29.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.884e-05/0.6363, allocations: 56.36 kB / 1.107 GB, free: 29.35 MB / 1.01 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 (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.0004005/0.6367, allocations: 256.2 kB / 1.107 GB, free: 29.19 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/0.637, allocations: 229.3 kB / 1.107 GB, free: 29.09 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.6393, allocations: 1.47 MB / 1.108 GB, free: 28.89 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6393, allocations: 20.53 kB / 1.108 GB, free: 28.88 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6393, allocations: 3 kB / 1.108 GB, free: 28.88 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6393, allocations: 7.734 kB / 1.108 GB, free: 28.88 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/0.6432, allocations: 2.915 MB / 1.111 GB, free: 28.33 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6433, allocations: 0 / 1.111 GB, free: 28.33 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007657/0.644, allocations: 311.6 kB / 1.112 GB, free: 28.33 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006846/0.6447, allocations: 260.9 kB / 1.112 GB, free: 28.27 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.6448, allocations: 42.22 kB / 1.112 GB, free: 28.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003718/0.6485, allocations: 8.988 MB / 1.121 GB, free: 35.58 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.6485, allocations: 0.9688 kB / 1.121 GB, free: 35.58 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00214/0.6506, allocations: 1.47 MB / 1.122 GB, free: 35.16 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005553/0.6512, allocations: 392.1 kB / 1.122 GB, free: 35.05 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.6514, allocations: 35.91 kB / 1.123 GB, free: 35.04 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.652, allocations: 86.12 kB / 1.123 GB, free: 35.04 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002295/0.6523, allocations: 125.2 kB / 1.123 GB, free: 35.04 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/0.6524, allocations: 70.2 kB / 1.123 GB, free: 35.04 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0009683/0.6533, allocations: 0.8175 MB / 1.124 GB, free: 34.89 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6533, allocations: 0 / 1.124 GB, free: 34.89 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001723/0.6551, allocations: 0.7172 MB / 1.124 GB, free: 34.77 MB / 1.026 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 (156): * Single equations (assignments): 141 * 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.001551/0.6566, allocations: 0.7899 MB / 1.125 GB, free: 34.54 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001907/0.6585, allocations: 1.727 MB / 1.127 GB, free: 33.64 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.6585, allocations: 7.688 kB / 1.127 GB, free: 33.64 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.6597, allocations: 1.37 MB / 1.128 GB, free: 32.76 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/0.6612, allocations: 0.5616 MB / 1.129 GB, free: 32.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005133/0.6664, allocations: 3.31 MB / 1.132 GB, free: 31.23 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.6668, allocations: 431.2 kB / 1.132 GB, free: 31.12 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001265/0.6681, allocations: 463 kB / 1.133 GB, free: 31.04 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.6685, allocations: 176.6 kB / 1.133 GB, free: 31.04 MB / 1.026 GB Notification: Performance of SimCode: time 1.282e-06/0.6685, allocations: 0.5312 kB / 1.133 GB, free: 31.04 MB / 1.026 GB Notification: Performance of Templates: time 0.04165/0.7101, allocations: 32.3 MB / 1.164 GB, free: 27.61 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 7.1980522819794714]