Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.0009473/0.0009473, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.001206/0.001206, allocations: 165 kB / 24.17 MB, free: 324 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.9963/0.9963, allocations: 177.2 MB / 204.6 MB, free: 5.113 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.97/1.97, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0 / 0.76 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.712e-05, allocations: 7.688 kB / 0.76 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007353/0.00738, allocations: 4.963 MB / 0.7648 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1643/0.1717, allocations: 146.1 MB / 0.9076 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.1726, allocations: 23.81 kB / 0.9076 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.1732, allocations: 206.1 kB / 0.9078 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.1748, allocations: 0.6017 MB / 0.9084 GB, free: 14.37 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1764, allocations: 0.9036 MB / 0.9092 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.1778, allocations: 1.541 MB / 0.9107 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006417/0.1784, allocations: 460.7 kB / 0.9112 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009401/0.1793, allocations: 0.8419 MB / 0.912 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004407/0.1798, allocations: 418.7 kB / 0.9124 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.1799, allocations: 120 kB / 0.9125 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008157/0.1807, allocations: 0.511 MB / 0.913 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.1809, allocations: 322.9 kB / 0.9133 GB, free: 9.234 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.1812, allocations: 414.9 kB / 0.9137 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.1826, allocations: 1.339 MB / 0.915 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1826, allocations: 7.938 kB / 0.915 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1826, allocations: 0 / 0.915 GB, free: 7.477 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.11e-05/0.1826, allocations: 0 / 0.915 GB, free: 7.477 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.001582/0.1842, allocations: 1.456 MB / 0.9165 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1843, allocations: 12.03 kB / 0.9165 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.1852, allocations: 344.1 kB / 0.9168 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008487/0.1861, allocations: 0.6055 MB / 0.9174 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.1861, allocations: 78.12 kB / 0.9175 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.1862, allocations: 104 kB / 0.9176 GB, free: 4.828 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007856/0.187, allocations: 0.9382 MB / 0.9185 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.187, allocations: 4 kB / 0.9185 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.1871, allocations: 40 kB / 0.9185 GB, free: 3.758 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1871, allocations: 24 kB / 0.9185 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.1877, allocations: 0.5947 MB / 0.9191 GB, free: 3.141 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002114/0.1898, allocations: 1.761 MB / 0.9208 GB, free: 1.34 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.1903, allocations: 438.4 kB / 0.9213 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.1905, allocations: 135.8 kB / 0.9214 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002325/0.1907, allocations: 80.92 kB / 0.9215 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.1911, allocations: 471.3 kB / 0.9219 GB, free: 192 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=90): time 3.527e-06/0.1911, allocations: 0 / 0.9219 GB, free: 192 kB / 0.8698 GB Notification: Performance of matching and sorting (n=90): time 0.00106/0.1922, allocations: 0.5811 MB / 0.9225 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.504e-05/0.1923, allocations: 200.9 kB / 0.9227 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.1926, allocations: 0.5133 MB / 0.9232 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.1927, allocations: 45.7 kB / 0.9232 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.1928, allocations: 362.4 kB / 0.9236 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.1931, allocations: 305.4 kB / 0.9239 GB, free: 14.12 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1932, allocations: 174.5 kB / 0.924 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1933, allocations: 394.5 kB / 0.9244 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1935, allocations: 100.8 kB / 0.9245 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.1937, allocations: 319.6 kB / 0.9248 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.194, allocations: 341.2 kB / 0.9251 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.194, allocations: 0 / 0.9251 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0006367/0.1946, allocations: 479 kB / 0.9256 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1947, allocations: 4 kB / 0.9256 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1947, allocations: 3.938 kB / 0.9256 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003918/0.1951, allocations: 128.7 kB / 0.9257 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.1954, allocations: 179.7 kB / 0.9259 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.1965, allocations: 1.305 MB / 0.9272 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.1968, allocations: 83.61 kB / 0.9272 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.164e-05/0.1968, allocations: 35.95 kB / 0.9273 GB, free: 10.44 MB / 0.8855 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 (109): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002003/0.197, allocations: 179.2 kB / 0.9274 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.1971, allocations: 79.92 kB / 0.9275 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/0.1979, allocations: 0.6301 MB / 0.9281 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1979, allocations: 8 kB / 0.9281 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1979, allocations: 4 kB / 0.9282 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.1979, allocations: 3.984 kB / 0.9282 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.1993, allocations: 1.144 MB / 0.9293 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1993, allocations: 0 / 0.9293 GB, free: 8.328 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003059/0.1996, allocations: 139.8 kB / 0.9294 GB, free: 8.191 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.2, allocations: 112.7 kB / 0.9295 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.2, allocations: 27.91 kB / 0.9295 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009498/0.2009, allocations: 1.325 MB / 0.9308 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2009, allocations: 0 / 0.9308 GB, free: 6.633 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006466/0.2016, allocations: 0.5907 MB / 0.9314 GB, free: 6.023 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.2018, allocations: 159.1 kB / 0.9316 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.2019, allocations: 24 kB / 0.9316 GB, free: 5.844 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.2021, allocations: 39.95 kB / 0.9316 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.597e-05/0.2022, allocations: 68.86 kB / 0.9317 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.2022, allocations: 31.92 kB / 0.9317 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002055/0.2024, allocations: 247.4 kB / 0.932 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.2024, allocations: 0 / 0.932 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007506/0.2032, allocations: 374.9 kB / 0.9323 GB, free: 5.098 MB / 0.8855 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 (101): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001617/0.2048, allocations: 0.7765 MB / 0.9331 GB, free: 4.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006968/0.2055, allocations: 0.5253 MB / 0.9336 GB, free: 4.051 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.2055, allocations: 4 kB / 0.9336 GB, free: 4.047 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.2059, allocations: 387.1 kB / 0.934 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.2065, allocations: 307.2 kB / 0.9343 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.2086, allocations: 1.577 MB / 0.9358 GB, free: 1.758 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.2087, allocations: 207 kB / 0.936 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004126/0.2091, allocations: 186.8 kB / 0.9362 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/0.2096, allocations: 311 kB / 0.9365 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/0.2097, allocations: 0 / 0.9365 GB, free: 1.043 MB / 0.8855 GB Notification: Performance of Templates: time 0.02081/0.2305, allocations: 17.47 MB / 0.9535 GB, free: 15.89 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.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: 5.863276467192918]