Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001042/0.001042, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00103/0.00103, allocations: 169 kB / 24.06 MB, free: 456 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.9214/0.9214, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.123/2.123, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.236e-05, allocations: 9.797 kB / 0.8794 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005308/0.00533, allocations: 4.942 MB / 0.8842 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1336/0.1389, allocations: 143.9 MB / 1.025 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008529/0.1398, allocations: 23.81 kB / 1.025 GB, free: 0.6641 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.1403, allocations: 218 kB / 1.025 GB, free: 460 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.1416, allocations: 0.5978 MB / 1.026 GB, free: 15.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.143, allocations: 0.8958 MB / 1.026 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009503/0.144, allocations: 1.545 MB / 1.028 GB, free: 13.39 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.1445, allocations: 450.3 kB / 1.028 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009497/0.1455, allocations: 0.8497 MB / 1.029 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003645/0.1458, allocations: 425.1 kB / 1.03 GB, free: 11.67 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1459, allocations: 128 kB / 1.03 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006078/0.1466, allocations: 0.4954 MB / 1.03 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.1467, allocations: 322.9 kB / 1.03 GB, free: 10.73 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.147, allocations: 418.9 kB / 1.031 GB, free: 10.32 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.1482, allocations: 1.327 MB / 1.032 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1482, allocations: 0 / 1.032 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1482, allocations: 0 / 1.032 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.1482, allocations: 0 / 1.032 GB, free: 8.988 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001495/0.1497, allocations: 1.608 MB / 1.034 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1497, allocations: 12.03 kB / 1.034 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.1509, allocations: 459.2 kB / 1.034 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000713/0.1516, allocations: 0.7297 MB / 1.035 GB, free: 6.113 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.1516, allocations: 78.12 kB / 1.035 GB, free: 6.039 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.1517, allocations: 103.9 kB / 1.035 GB, free: 5.938 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.153, allocations: 0.9869 MB / 1.036 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.153, allocations: 0 / 1.036 GB, free: 4.855 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.277e-05/0.153, allocations: 47.98 kB / 1.036 GB, free: 4.809 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1531, allocations: 24 kB / 1.036 GB, free: 4.785 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.1537, allocations: 0.7313 MB / 1.037 GB, free: 4.055 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.1561, allocations: 2.269 MB / 1.039 GB, free: 1.734 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.1571, allocations: 0.5583 MB / 1.04 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.1573, allocations: 175.6 kB / 1.04 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.1573, allocations: 32.97 kB / 1.04 GB, free: 0.957 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004159/0.1578, allocations: 498.7 kB / 1.04 GB, free: 436 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=92): time 1.854e-06/0.1578, allocations: 0 / 1.04 GB, free: 436 kB / 0.9948 GB Notification: Performance of matching and sorting (n=92): time 0.00137/0.1591, allocations: 0.8274 MB / 1.041 GB, free: 15.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.1592, allocations: 196.9 kB / 1.041 GB, free: 15.35 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/0.1596, allocations: 0.5578 MB / 1.042 GB, free: 14.78 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.1596, allocations: 49.7 kB / 1.042 GB, free: 14.72 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.1599, allocations: 483.9 kB / 1.042 GB, free: 14.24 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/0.16, allocations: 309.3 kB / 1.043 GB, free: 13.94 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000185/0.1602, allocations: 200.1 kB / 1.043 GB, free: 13.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004668/0.1607, allocations: 0.5779 MB / 1.043 GB, free: 13.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.1609, allocations: 125.8 kB / 1.043 GB, free: 13.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.1611, allocations: 369.7 kB / 1.044 GB, free: 12.61 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000398/0.1615, allocations: 375 kB / 1.044 GB, free: 12.23 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1615, allocations: 0 / 1.044 GB, free: 12.23 MB / 1.01 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0008585/0.1624, allocations: 0.649 MB / 1.045 GB, free: 11.57 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1624, allocations: 7.938 kB / 1.045 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1624, allocations: 4 kB / 1.045 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004315/0.1629, allocations: 123.6 kB / 1.045 GB, free: 11.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/0.1633, allocations: 199.7 kB / 1.045 GB, free: 11.23 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/0.1645, allocations: 1.871 MB / 1.047 GB, free: 9.246 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.1648, allocations: 91.56 kB / 1.047 GB, free: 9.156 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.1648, allocations: 35.97 kB / 1.047 GB, free: 9.121 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.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 (111): * Single equations (assignments): 110 * 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.0002084/0.165, allocations: 223.2 kB / 1.047 GB, free: 8.891 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1652, allocations: 119.4 kB / 1.047 GB, free: 8.773 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.1662, allocations: 0.842 MB / 1.048 GB, free: 7.914 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1662, allocations: 12 kB / 1.048 GB, free: 7.902 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1663, allocations: 0 / 1.048 GB, free: 7.902 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.1663, allocations: 7.969 kB / 1.048 GB, free: 7.895 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.168, allocations: 1.557 MB / 1.05 GB, free: 6.285 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.168, allocations: 0 / 1.05 GB, free: 6.285 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.1686, allocations: 159.7 kB / 1.05 GB, free: 6.129 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003504/0.1689, allocations: 123.5 kB / 1.05 GB, free: 6.004 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.169, allocations: 23.98 kB / 1.05 GB, free: 5.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.17, allocations: 1.887 MB / 1.052 GB, free: 3.973 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.17, allocations: 0 / 1.052 GB, free: 3.973 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008894/0.1709, allocations: 0.8687 MB / 1.053 GB, free: 3.078 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.1712, allocations: 199 kB / 1.053 GB, free: 2.883 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.696e-05/0.1712, allocations: 20 kB / 1.053 GB, free: 2.863 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.1715, allocations: 51.84 kB / 1.053 GB, free: 2.812 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.652e-05/0.1716, allocations: 80.84 kB / 1.053 GB, free: 2.734 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/0.1716, allocations: 27.98 kB / 1.053 GB, free: 2.707 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002296/0.1719, allocations: 366.9 kB / 1.053 GB, free: 2.355 MB / 1.01 GB Notification: Performance of sort global known variables: time 4e-08/0.1719, allocations: 0 / 1.053 GB, free: 2.355 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007097/0.1726, allocations: 367 kB / 1.054 GB, free: 1.996 MB / 1.01 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 (104): * Single equations (assignments): 93 * 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.00119/0.1738, allocations: 0.6292 MB / 1.054 GB, free: 1.539 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.1745, allocations: 0.6598 MB / 1.055 GB, free: 0.8594 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1745, allocations: 4 kB / 1.055 GB, free: 0.8555 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.1749, allocations: 472.9 kB / 1.056 GB, free: 384 kB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007105/0.1757, allocations: 324.8 kB / 1.056 GB, free: 80 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3927/0.5684, allocations: 1.613 MB / 1.057 GB, free: 75.26 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.5685, allocations: 204.9 kB / 1.058 GB, free: 75.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005396/0.569, allocations: 204.6 kB / 1.058 GB, free: 75.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000535/0.5695, allocations: 373.6 kB / 1.058 GB, free: 75.11 MB / 1.01 GB Notification: Performance of SimCode: time 1.403e-06/0.5695, allocations: 0.6562 kB / 1.058 GB, free: 75.11 MB / 1.01 GB Notification: Performance of Templates: time 0.01843/0.588, allocations: 17.77 MB / 1.076 GB, free: 73.71 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.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.636988992802799]