Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009282/0.0009282, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009466/0.0009466, allocations: 177 kB / 23.36 MB, free: 1.129 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.9064/0.9064, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.338/2.338, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.078e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006972/0.006993, allocations: 5.125 MB / 0.8436 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.139/0.146, allocations: 146.3 MB / 0.9864 GB, free: 6.234 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008173/0.1468, allocations: 23.81 kB / 0.9864 GB, free: 6.211 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.1474, allocations: 213.9 kB / 0.9866 GB, free: 6 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.1489, allocations: 0.6094 MB / 0.9872 GB, free: 5.387 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.1506, allocations: 0.9739 MB / 0.9882 GB, free: 4.41 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.152, allocations: 1.717 MB / 0.9899 GB, free: 2.688 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006728/0.1527, allocations: 0.5029 MB / 0.9903 GB, free: 2.133 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.1537, allocations: 0.9434 MB / 0.9913 GB, free: 1.188 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.1542, allocations: 0.4966 MB / 0.9918 GB, free: 0.6914 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.1544, allocations: 140 kB / 0.9919 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007512/0.1551, allocations: 0.5188 MB / 0.9924 GB, free: 36 kB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.1554, allocations: 362.8 kB / 0.9927 GB, free: 15.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003355/0.1557, allocations: 474.8 kB / 0.9932 GB, free: 15.21 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.1571, allocations: 1.463 MB / 0.9946 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1571, allocations: 0 / 0.9946 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1571, allocations: 0 / 0.9946 GB, free: 13.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.1571, allocations: 0 / 0.9946 GB, free: 13.75 MB / 0.9636 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.001646/0.1587, allocations: 1.628 MB / 0.9962 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.1588, allocations: 8.625 kB / 0.9962 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.1622, allocations: 1.229 MB / 0.9974 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/0.1629, allocations: 0.6249 MB / 0.998 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.163, allocations: 94.34 kB / 0.9981 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1631, allocations: 120 kB / 0.9982 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.165, allocations: 1.557 MB / 0.9998 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.165, allocations: 0 / 0.9998 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.181e-05/0.1651, allocations: 48 kB / 0.9998 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1651, allocations: 24 kB / 0.9998 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.1663, allocations: 1.029 MB / 1.001 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003667/0.1699, allocations: 2.379 MB / 1.003 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/0.1713, allocations: 0.9215 MB / 1.004 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.1717, allocations: 393.4 kB / 1.004 GB, free: 3.461 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.666e-05/0.1718, allocations: 40.95 kB / 1.004 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006632/0.1724, allocations: 0.7997 MB / 1.005 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=117): time 2.565e-06/0.1724, allocations: 0 / 1.005 GB, free: 2.578 MB / 0.9636 GB Notification: Performance of matching and sorting (n=117): time 0.001888/0.1743, allocations: 1.128 MB / 1.006 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.735e-05/0.1744, allocations: 204.9 kB / 1.007 GB, free: 1.199 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.1748, allocations: 0.5173 MB / 1.007 GB, free: 0.6719 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.56e-05/0.1748, allocations: 53.7 kB / 1.007 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.175, allocations: 390.7 kB / 1.007 GB, free: 228 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.1752, allocations: 388.8 kB / 1.008 GB, free: 15.84 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.1755, allocations: 218.7 kB / 1.008 GB, free: 15.62 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1756, allocations: 406.5 kB / 1.008 GB, free: 15.21 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.176, allocations: 289.4 kB / 1.009 GB, free: 14.93 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.1764, allocations: 0.5194 MB / 1.009 GB, free: 14.36 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.1771, allocations: 0.6278 MB / 1.01 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.1771, allocations: 0 / 1.01 GB, free: 13.71 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001098/0.1782, allocations: 0.8167 MB / 1.011 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1782, allocations: 11.98 kB / 1.011 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1782, allocations: 0 / 1.011 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003978/0.1786, allocations: 120.7 kB / 1.011 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008971/0.1795, allocations: 363.5 kB / 1.011 GB, free: 12.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.1806, allocations: 1.308 MB / 1.012 GB, free: 11 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009801/0.1815, allocations: 227.2 kB / 1.013 GB, free: 10.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.226e-05/0.1816, allocations: 43.94 kB / 1.013 GB, free: 10.74 MB / 0.9792 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.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 (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.0002735/0.1819, allocations: 179 kB / 1.013 GB, free: 10.55 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.182, allocations: 99.91 kB / 1.013 GB, free: 10.45 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/0.1836, allocations: 1.117 MB / 1.014 GB, free: 9.316 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1836, allocations: 12 kB / 1.014 GB, free: 9.305 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1836, allocations: 7.938 kB / 1.014 GB, free: 9.297 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.1836, allocations: 7.969 kB / 1.014 GB, free: 9.289 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.1858, allocations: 1.705 MB / 1.016 GB, free: 7.543 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1858, allocations: 4 kB / 1.016 GB, free: 7.539 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/0.1867, allocations: 327.6 kB / 1.016 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003092/0.187, allocations: 108.8 kB / 1.016 GB, free: 7.109 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.187, allocations: 31.95 kB / 1.016 GB, free: 7.078 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008372/0.1879, allocations: 1.31 MB / 1.017 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1879, allocations: 4 kB / 1.017 GB, free: 5.676 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.189, allocations: 0.9486 MB / 1.018 GB, free: 4.703 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.1893, allocations: 182.9 kB / 1.019 GB, free: 4.523 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.1894, allocations: 28.14 kB / 1.019 GB, free: 4.496 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.19, allocations: 178.3 kB / 1.019 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.1901, allocations: 93.12 kB / 1.019 GB, free: 4.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.1902, allocations: 35.95 kB / 1.019 GB, free: 4.195 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001901/0.1904, allocations: 251.4 kB / 1.019 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.1904, allocations: 0 / 1.019 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0007648/0.1912, allocations: 438.9 kB / 1.02 GB, free: 3.52 MB / 0.9792 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 (129): * Single equations (assignments): 118 * 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.001715/0.1929, allocations: 0.7709 MB / 1.02 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.194, allocations: 0.9885 MB / 1.021 GB, free: 2.016 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.194, allocations: 8 kB / 1.021 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.1946, allocations: 0.6343 MB / 1.022 GB, free: 1.359 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.1953, allocations: 333.7 kB / 1.022 GB, free: 1.051 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002393/0.1977, allocations: 1.919 MB / 1.024 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1978, allocations: 224.8 kB / 1.024 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008301/0.1987, allocations: 307.8 kB / 1.025 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008039/0.1995, allocations: 346.9 kB / 1.025 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of SimCode: time 6.91e-07/0.1995, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.0266/0.2261, allocations: 22.46 MB / 1.047 GB, free: 8.086 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.233635436277837]