Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008301/0.0008301, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.0009028/0.0009028, allocations: 161 kB / 24.17 MB, free: 328 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.9737/0.9737, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.964/1.964, allocations: 377.9 MB / 0.624 GB, free: 8.355 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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.08e-05, allocations: 6.75 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01181/0.01183, allocations: 4.964 MB / 0.7648 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1429/0.1548, allocations: 146.1 MB / 0.9075 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007961/0.1556, allocations: 19.88 kB / 0.9075 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.1561, allocations: 210 kB / 0.9077 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.1576, allocations: 0.5978 MB / 0.9083 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1592, allocations: 0.8958 MB / 0.9092 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001346/0.1605, allocations: 1.549 MB / 0.9107 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.1611, allocations: 467 kB / 0.9111 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009622/0.1621, allocations: 0.8498 MB / 0.912 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004386/0.1625, allocations: 414.7 kB / 0.9124 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.1626, allocations: 124 kB / 0.9125 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007811/0.1634, allocations: 0.4915 MB / 0.913 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.1636, allocations: 326.9 kB / 0.9133 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005048/0.1641, allocations: 423 kB / 0.9137 GB, free: 8.871 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1656, allocations: 1.323 MB / 0.915 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1656, allocations: 4 kB / 0.915 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1656, allocations: 0 / 0.915 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.1656, allocations: 0 / 0.915 GB, free: 7.539 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.001426/0.167, allocations: 1.46 MB / 0.9164 GB, free: 6.047 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1671, allocations: 8.031 kB / 0.9164 GB, free: 6.039 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.1681, allocations: 412 kB / 0.9168 GB, free: 5.637 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.1688, allocations: 0.6056 MB / 0.9174 GB, free: 5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.045e-05/0.1688, allocations: 82.12 kB / 0.9175 GB, free: 4.922 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.1689, allocations: 100 kB / 0.9176 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007721/0.1697, allocations: 0.9725 MB / 0.9185 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.1697, allocations: 0 / 0.9185 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.1698, allocations: 44 kB / 0.9186 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1698, allocations: 28 kB / 0.9186 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006023/0.1704, allocations: 0.6143 MB / 0.9192 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.1726, allocations: 1.725 MB / 0.9209 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000754/0.1734, allocations: 0.491 MB / 0.9214 GB, free: 0.8242 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1735, allocations: 151.8 kB / 0.9215 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.1736, allocations: 36.91 kB / 0.9215 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.174, allocations: 487.3 kB / 0.922 GB, free: 124 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=92): time 4.659e-06/0.174, allocations: 0 / 0.922 GB, free: 124 kB / 0.8698 GB Notification: Performance of matching and sorting (n=92): time 0.001024/0.175, allocations: 0.6006 MB / 0.9226 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.1751, allocations: 208.9 kB / 0.9228 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.1755, allocations: 0.4977 MB / 0.9233 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.1756, allocations: 49.7 kB / 0.9233 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1758, allocations: 366.4 kB / 0.9237 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.1759, allocations: 313.3 kB / 0.924 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.1761, allocations: 178.5 kB / 0.9241 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1762, allocations: 394.5 kB / 0.9245 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.1764, allocations: 104.8 kB / 0.9246 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.1766, allocations: 331.6 kB / 0.9249 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/0.177, allocations: 357.2 kB / 0.9253 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.177, allocations: 0 / 0.9253 GB, free: 12.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0006774/0.1776, allocations: 491 kB / 0.9257 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1777, allocations: 4 kB / 0.9257 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1777, allocations: 0 / 0.9257 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/0.178, allocations: 128.7 kB / 0.9259 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000391/0.1784, allocations: 183.8 kB / 0.926 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009679/0.1794, allocations: 1.324 MB / 0.9273 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.1797, allocations: 83.62 kB / 0.9274 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.1798, allocations: 31.97 kB / 0.9274 GB, free: 10.28 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 (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.0003632/0.1801, allocations: 171 kB / 0.9276 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.485e-05/0.1802, allocations: 83.86 kB / 0.9277 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008291/0.181, allocations: 0.6538 MB / 0.9283 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/0.1811, allocations: 16 kB / 0.9283 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.1811, allocations: 3.938 kB / 0.9283 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.1811, allocations: 7.969 kB / 0.9283 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.1824, allocations: 1.183 MB / 0.9295 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1824, allocations: 0 / 0.9295 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/0.1827, allocations: 159.8 kB / 0.9297 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002859/0.183, allocations: 112.7 kB / 0.9298 GB, free: 7.832 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.1831, allocations: 23.97 kB / 0.9298 GB, free: 7.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007776/0.1838, allocations: 1.325 MB / 0.9311 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1838, allocations: 0 / 0.9311 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.1845, allocations: 0.5985 MB / 0.9317 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.1846, allocations: 151.3 kB / 0.9318 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.272e-05/0.1847, allocations: 27.95 kB / 0.9318 GB, free: 5.594 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.185, allocations: 51.94 kB / 0.9319 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.1851, allocations: 76.8 kB / 0.932 GB, free: 5.465 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.1851, allocations: 27.97 kB / 0.932 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001838/0.1853, allocations: 247.3 kB / 0.9322 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1853, allocations: 4 kB / 0.9322 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006583/0.1859, allocations: 367 kB / 0.9326 GB, free: 4.836 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 (105): * Single equations (assignments): 94 * 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.001469/0.1874, allocations: 0.7551 MB / 0.9333 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006132/0.188, allocations: 0.5485 MB / 0.9338 GB, free: 3.793 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.188, allocations: 8 kB / 0.9339 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003264/0.1883, allocations: 390.9 kB / 0.9342 GB, free: 3.391 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.189, allocations: 312.4 kB / 0.9345 GB, free: 3.102 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.1911, allocations: 1.612 MB / 0.9361 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.1912, allocations: 207.2 kB / 0.9363 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004244/0.1916, allocations: 198.9 kB / 0.9365 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005245/0.1921, allocations: 311 kB / 0.9368 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of SimCode: time 6.91e-07/0.1921, allocations: 0 / 0.9368 GB, free: 0.7188 MB / 0.8855 GB Notification: Performance of Templates: time 0.01986/0.212, allocations: 17.58 MB / 0.954 GB, free: 15.48 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.800581014249474]