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.001166/0.001166, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001116/0.001116, allocations: 169 kB / 24.28 MB, free: 272 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.97/0.97, allocations: 177.1 MB / 204.6 MB, free: 5.645 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.896/1.896, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] 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.122e-06/1.122e-06, allocations: 0 / 0.8115 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.255e-05, allocations: 8.984 kB / 0.8115 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.009657/0.00967, allocations: 5.21 MB / 0.8166 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1453/0.155, allocations: 146.5 MB / 0.9597 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.1558, allocations: 23.81 kB / 0.9597 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006376/0.1564, allocations: 221.9 kB / 0.9599 GB, free: 9.602 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.1581, allocations: 0.6017 MB / 0.9605 GB, free: 8.996 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.16, allocations: 0.9855 MB / 0.9615 GB, free: 8.008 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.1617, allocations: 1.709 MB / 0.9632 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.1627, allocations: 498.8 kB / 0.9636 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.1638, allocations: 0.9122 MB / 0.9645 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006273/0.1645, allocations: 0.5162 MB / 0.965 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.1647, allocations: 152 kB / 0.9652 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009187/0.1656, allocations: 0.5423 MB / 0.9657 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.1658, allocations: 382.8 kB / 0.9661 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.1662, allocations: 486.6 kB / 0.9665 GB, free: 2.797 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.1681, allocations: 1.502 MB / 0.968 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1681, allocations: 0 / 0.968 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1681, allocations: 0 / 0.968 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.515e-05/0.1681, allocations: 0 / 0.968 GB, free: 1.289 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.002253/0.1704, allocations: 1.777 MB / 0.9697 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1704, allocations: 12.02 kB / 0.9697 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/0.1733, allocations: 0.8109 MB / 0.9705 GB, free: 14.64 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.1746, allocations: 0.7989 MB / 0.9713 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.513e-05/0.1746, allocations: 90.36 kB / 0.9714 GB, free: 13.72 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1747, allocations: 112 kB / 0.9715 GB, free: 13.61 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.1765, allocations: 1.415 MB / 0.9729 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1765, allocations: 0 / 0.9729 GB, free: 12.06 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.943e-05/0.1766, allocations: 52 kB / 0.9729 GB, free: 12.01 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.1766, allocations: 28 kB / 0.973 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.178, allocations: 1.109 MB / 0.974 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/0.1818, allocations: 2.885 MB / 0.9769 GB, free: 7.906 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.1834, allocations: 0.8065 MB / 0.9777 GB, free: 7.098 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/0.1839, allocations: 332.2 kB / 0.978 GB, free: 6.773 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.1841, allocations: 80.92 kB / 0.978 GB, free: 6.691 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007275/0.1849, allocations: 0.6861 MB / 0.9787 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=117): time 3.257e-06/0.1849, allocations: 0 / 0.9787 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of matching and sorting (n=117): time 0.002284/0.1872, allocations: 1.237 MB / 0.9799 GB, free: 4.711 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.1873, allocations: 204.9 kB / 0.9801 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005914/0.1878, allocations: 0.5855 MB / 0.9807 GB, free: 3.871 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.753e-05/0.1879, allocations: 53.7 kB / 0.9807 GB, free: 3.812 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.1883, allocations: 0.4924 MB / 0.9812 GB, free: 3.312 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000299/0.1886, allocations: 400.8 kB / 0.9816 GB, free: 2.918 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.1889, allocations: 228.5 kB / 0.9818 GB, free: 2.688 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.1891, allocations: 0.5625 MB / 0.9824 GB, free: 2.113 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.1895, allocations: 258.5 kB / 0.9826 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00058/0.1901, allocations: 0.5047 MB / 0.9831 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009233/0.1911, allocations: 0.613 MB / 0.9837 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.1911, allocations: 0 / 0.9837 GB, free: 0.6602 MB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001915/0.193, allocations: 0.9607 MB / 0.9846 GB, free: 15.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/0.193, allocations: 8 kB / 0.9847 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.193, allocations: 0 / 0.9847 GB, free: 15.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/0.1936, allocations: 131.7 kB / 0.9848 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/0.1943, allocations: 263.6 kB / 0.985 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1958, allocations: 1.894 MB / 0.9869 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.1963, allocations: 139.4 kB / 0.987 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.1964, allocations: 43.97 kB / 0.9871 GB, free: 13.09 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.000363/0.1968, allocations: 239.2 kB / 0.9873 GB, free: 12.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.197, allocations: 131.4 kB / 0.9874 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.1988, allocations: 1.21 MB / 0.9886 GB, free: 11.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1988, allocations: 16 kB / 0.9886 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1988, allocations: 0 / 0.9886 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.1988, allocations: 7.922 kB / 0.9886 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.2016, allocations: 2.182 MB / 0.9907 GB, free: 9.227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2016, allocations: 0 / 0.9907 GB, free: 9.227 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005848/0.2022, allocations: 231.7 kB / 0.991 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.2026, allocations: 115.6 kB / 0.9911 GB, free: 8.883 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.2027, allocations: 35.95 kB / 0.9911 GB, free: 8.848 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.204, allocations: 1.925 MB / 0.993 GB, free: 6.793 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.204, allocations: 0 / 0.993 GB, free: 6.793 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.2056, allocations: 1.182 MB / 0.9941 GB, free: 5.578 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000363/0.206, allocations: 246.9 kB / 0.9944 GB, free: 5.336 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.2061, allocations: 28 kB / 0.9944 GB, free: 5.309 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.2065, allocations: 82.58 kB / 0.9945 GB, free: 5.23 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.2067, allocations: 97.08 kB / 0.9946 GB, free: 5.137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.2067, allocations: 47.95 kB / 0.9946 GB, free: 5.09 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003371/0.2071, allocations: 395 kB / 0.995 GB, free: 4.707 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2071, allocations: 0 / 0.995 GB, free: 4.707 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009415/0.208, allocations: 430.8 kB / 0.9954 GB, free: 4.285 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.001405/0.2094, allocations: 0.6523 MB / 0.9961 GB, free: 3.805 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.2109, allocations: 0.9716 MB / 0.997 GB, free: 2.816 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.2109, allocations: 3.984 kB / 0.997 GB, free: 2.812 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007088/0.2116, allocations: 0.64 MB / 0.9976 GB, free: 2.152 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/0.2124, allocations: 344.9 kB / 0.998 GB, free: 1.84 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.2161, allocations: 1.889 MB / 0.9998 GB, free: 15.91 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.2162, allocations: 224.8 kB / 1 GB, free: 15.67 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0008532/0.2171, allocations: 327.7 kB / 1 GB, free: 15.35 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.2174, allocations: 136.4 kB / 1 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of SimCode: time 1.613e-06/0.2174, allocations: 0 / 1 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of Templates: time 0.02745/0.2448, allocations: 18.93 MB / 1.019 GB, free: 12.61 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: 5.8937217690981925]