Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.0009692/0.0009692, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001083/0.001083, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9554/0.9554, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.901/1.901, allocations: 377.8 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.732e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007534/0.007561, allocations: 5.251 MB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1337/0.1412, allocations: 146.8 MB / 0.96 GB, free: 9.262 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009305/0.1422, allocations: 27.81 kB / 0.96 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.1427, allocations: 221.8 kB / 0.9602 GB, free: 9.016 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001504/0.1443, allocations: 0.6056 MB / 0.9608 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001713/0.146, allocations: 0.9816 MB / 0.9618 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001319/0.1473, allocations: 1.709 MB / 0.9634 GB, free: 5.703 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006438/0.1479, allocations: 0.491 MB / 0.9639 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008499/0.1488, allocations: 0.9083 MB / 0.9648 GB, free: 4.27 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005045/0.1493, allocations: 0.522 MB / 0.9653 GB, free: 3.746 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001651/0.1494, allocations: 156 kB / 0.9655 GB, free: 3.594 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007273/0.1502, allocations: 0.5345 MB / 0.966 GB, free: 3.055 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.1506, allocations: 378.8 kB / 0.9663 GB, free: 2.684 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003472/0.1509, allocations: 486.8 kB / 0.9668 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.1524, allocations: 1.502 MB / 0.9683 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1524, allocations: 0 / 0.9683 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1524, allocations: 0 / 0.9683 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.503e-05/0.1524, allocations: 0 / 0.9683 GB, free: 0.6992 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.002053/0.1545, allocations: 1.777 MB / 0.97 GB, free: 14.88 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1545, allocations: 12.03 kB / 0.97 GB, free: 14.86 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.157, allocations: 0.8148 MB / 0.9708 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009316/0.1579, allocations: 0.8027 MB / 0.9716 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.1579, allocations: 90.34 kB / 0.9717 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.1581, allocations: 116 kB / 0.9718 GB, free: 13.01 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.1597, allocations: 1.411 MB / 0.9732 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.1597, allocations: 4 kB / 0.9732 GB, free: 11.46 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.1599, allocations: 44 kB / 0.9732 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.16, allocations: 28 kB / 0.9732 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.1613, allocations: 1.113 MB / 0.9743 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.1648, allocations: 2.881 MB / 0.9771 GB, free: 7.312 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.1662, allocations: 0.8026 MB / 0.9779 GB, free: 6.508 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/0.1668, allocations: 328.2 kB / 0.9782 GB, free: 6.188 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003595/0.1672, allocations: 88.94 kB / 0.9783 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.1682, allocations: 0.6783 MB / 0.979 GB, free: 5.375 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=117): time 3.086e-06/0.1682, allocations: 0 / 0.979 GB, free: 5.375 MB / 0.9323 GB Notification: Performance of matching and sorting (n=117): time 0.00338/0.1716, allocations: 1.245 MB / 0.9802 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.1717, allocations: 200.9 kB / 0.9804 GB, free: 3.879 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007354/0.1724, allocations: 0.5816 MB / 0.981 GB, free: 3.281 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.1726, allocations: 53.7 kB / 0.981 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003737/0.1729, allocations: 0.5043 MB / 0.9815 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/0.1732, allocations: 388.6 kB / 0.9819 GB, free: 2.328 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/0.1736, allocations: 228.5 kB / 0.9821 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.1739, allocations: 0.5703 MB / 0.9826 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.1745, allocations: 254.5 kB / 0.9829 GB, free: 1.266 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.1752, allocations: 0.5047 MB / 0.9834 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001252/0.1765, allocations: 0.613 MB / 0.984 GB, free: 68 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1765, allocations: 0 / 0.984 GB, free: 68 kB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002245/0.1787, allocations: 0.9647 MB / 0.9849 GB, free: 15.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1788, allocations: 4 kB / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1788, allocations: 4 kB / 0.9849 GB, free: 15.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006986/0.1795, allocations: 127.7 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.1805, allocations: 263.6 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.1826, allocations: 1.904 MB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/0.1833, allocations: 134 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.1834, allocations: 52 kB / 0.9873 GB, free: 12.48 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (137): * Single equations (assignments): 136 * 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.0003275/0.1837, allocations: 227 kB / 0.9876 GB, free: 12.25 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.184, allocations: 135.3 kB / 0.9877 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.1858, allocations: 1.206 MB / 0.9889 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.1858, allocations: 15.94 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.1859, allocations: 4 kB / 0.9889 GB, free: 10.88 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.1859, allocations: 7.984 kB / 0.9889 GB, free: 10.87 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002606/0.1885, allocations: 2.178 MB / 0.991 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1885, allocations: 4 kB / 0.991 GB, free: 8.633 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005708/0.189, allocations: 231.7 kB / 0.9912 GB, free: 8.406 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003603/0.1894, allocations: 111.6 kB / 0.9913 GB, free: 8.293 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.1895, allocations: 35.97 kB / 0.9914 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.1906, allocations: 1.937 MB / 0.9933 GB, free: 6.191 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1906, allocations: 0 / 0.9933 GB, free: 6.191 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1922, allocations: 1.178 MB / 0.9944 GB, free: 4.98 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.1925, allocations: 238.9 kB / 0.9947 GB, free: 4.746 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.1926, allocations: 31.94 kB / 0.9947 GB, free: 4.715 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.1931, allocations: 75.94 kB / 0.9948 GB, free: 4.641 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.1932, allocations: 97.06 kB / 0.9948 GB, free: 4.547 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.31e-05/0.1933, allocations: 51.97 kB / 0.9949 GB, free: 4.496 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003158/0.1936, allocations: 395 kB / 0.9953 GB, free: 4.113 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.1936, allocations: 0 / 0.9953 GB, free: 4.113 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008141/0.1944, allocations: 430.8 kB / 0.9957 GB, free: 3.691 MB / 0.948 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 (130): * Single equations (assignments): 119 * 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.001295/0.1957, allocations: 0.6609 MB / 0.9963 GB, free: 3.203 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.197, allocations: 0.9755 MB / 0.9973 GB, free: 2.211 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.197, allocations: 0 / 0.9973 GB, free: 2.211 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.1976, allocations: 0.6361 MB / 0.9979 GB, free: 1.555 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007744/0.1984, allocations: 348.1 kB / 0.9982 GB, free: 1.234 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.201, allocations: 1.879 MB / 1 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.2011, allocations: 224.8 kB / 1 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000712/0.2019, allocations: 331.7 kB / 1.001 GB, free: 14.75 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.2022, allocations: 132.4 kB / 1.001 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.2022, allocations: 0 / 1.001 GB, free: 14.62 MB / 0.9636 GB Notification: Performance of Templates: time 0.02194/0.2241, allocations: 18.94 MB / 1.019 GB, free: 12 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.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.056043984834105]