Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.0009673/0.0009673, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009847/0.0009847, allocations: 161 kB / 24.17 MB, free: 332 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.979/0.979, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.359 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.678e-05, allocations: 9.547 kB / 0.76 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00756/0.007586, allocations: 5.697 MB / 0.7655 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1468/0.1544, allocations: 146.3 MB / 0.9084 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008622/0.1553, allocations: 23.81 kB / 0.9084 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006246/0.1559, allocations: 245.6 kB / 0.9086 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.1576, allocations: 0.6753 MB / 0.9093 GB, free: 13.42 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.1593, allocations: 0.9036 MB / 0.9102 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1608, allocations: 1.747 MB / 0.9119 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008115/0.1616, allocations: 0.5938 MB / 0.9125 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.1628, allocations: 0.9979 MB / 0.9134 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005743/0.1634, allocations: 498.4 kB / 0.9139 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.1636, allocations: 152 kB / 0.9141 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007687/0.1644, allocations: 0.515 MB / 0.9146 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.1646, allocations: 378.7 kB / 0.9149 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.1651, allocations: 0.491 MB / 0.9154 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.1666, allocations: 1.49 MB / 0.9169 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1666, allocations: 0 / 0.9169 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1666, allocations: 0 / 0.9169 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.1666, allocations: 4 kB / 0.9169 GB, free: 5.598 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.001994/0.1686, allocations: 1.669 MB / 0.9185 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1687, allocations: 12.02 kB / 0.9185 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.1698, allocations: 364.1 kB / 0.9189 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009323/0.1707, allocations: 0.6482 MB / 0.9195 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/0.1708, allocations: 94.56 kB / 0.9196 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.1709, allocations: 128 kB / 0.9197 GB, free: 2.629 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.172, allocations: 1.066 MB / 0.9207 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.172, allocations: 0 / 0.9207 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.1721, allocations: 55.94 kB / 0.9208 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.1721, allocations: 32 kB / 0.9208 GB, free: 1.367 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008719/0.173, allocations: 0.6321 MB / 0.9214 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.176, allocations: 2.054 MB / 0.9234 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.1767, allocations: 441 kB / 0.9239 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.1768, allocations: 143.8 kB / 0.924 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.129e-05/0.1769, allocations: 40.97 kB / 0.924 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004629/0.1774, allocations: 471.3 kB / 0.9245 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=95): time 2.305e-06/0.1774, allocations: 0 / 0.9245 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.001298/0.1787, allocations: 0.5966 MB / 0.9251 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.1788, allocations: 204.9 kB / 0.9253 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.1793, allocations: 0.5562 MB / 0.9258 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.1793, allocations: 49.69 kB / 0.9259 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.1796, allocations: 458.8 kB / 0.9263 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/0.1798, allocations: 325.2 kB / 0.9266 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.18, allocations: 182.4 kB / 0.9268 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1801, allocations: 410.5 kB / 0.9272 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.1803, allocations: 100.8 kB / 0.9273 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.1806, allocations: 327.6 kB / 0.9276 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004718/0.1811, allocations: 357.2 kB / 0.9279 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1811, allocations: 0 / 0.9279 GB, free: 9.836 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0008495/0.1819, allocations: 0.495 MB / 0.9284 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.182, allocations: 9.719 kB / 0.9284 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.182, allocations: 0 / 0.9284 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004791/0.1824, allocations: 120.7 kB / 0.9285 GB, free: 9.199 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.183, allocations: 191.7 kB / 0.9287 GB, free: 9.012 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.1841, allocations: 1.316 MB / 0.93 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.1845, allocations: 83.48 kB / 0.9301 GB, free: 7.523 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/0.1845, allocations: 27.98 kB / 0.9301 GB, free: 7.496 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 (117): * Single equations (assignments): 116 * 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.0002388/0.1848, allocations: 175.1 kB / 0.9303 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1849, allocations: 87.92 kB / 0.9304 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.1862, allocations: 0.6505 MB / 0.931 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.1862, allocations: 8 kB / 0.931 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-06/0.1862, allocations: 4 kB / 0.931 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.1862, allocations: 3.984 kB / 0.931 GB, free: 6.547 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.188, allocations: 1.202 MB / 0.9322 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.188, allocations: 0 / 0.9322 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.1885, allocations: 155.7 kB / 0.9323 GB, free: 5.148 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003686/0.1888, allocations: 112.7 kB / 0.9324 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.1889, allocations: 19.98 kB / 0.9325 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009978/0.1899, allocations: 1.325 MB / 0.9338 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1899, allocations: 0 / 0.9338 GB, free: 3.598 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008101/0.1907, allocations: 0.5946 MB / 0.9343 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/0.1909, allocations: 151.2 kB / 0.9345 GB, free: 2.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.191, allocations: 31.97 kB / 0.9345 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.1913, allocations: 35.97 kB / 0.9345 GB, free: 2.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.1915, allocations: 76.86 kB / 0.9346 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.1915, allocations: 23.98 kB / 0.9346 GB, free: 2.668 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002784/0.1918, allocations: 279.4 kB / 0.9349 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1918, allocations: 0 / 0.9349 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007446/0.1925, allocations: 414.7 kB / 0.9353 GB, free: 1.992 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 (106): * Single equations (assignments): 95 * 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.001723/0.1942, allocations: 0.7697 MB / 0.9361 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007663/0.195, allocations: 0.5332 MB / 0.9366 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.195, allocations: 15.88 kB / 0.9366 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.1954, allocations: 379.2 kB / 0.9369 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000805/0.1962, allocations: 320.5 kB / 0.9373 GB, free: 256 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.1989, allocations: 1.823 MB / 0.939 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.1991, allocations: 227.3 kB / 0.9393 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005064/0.1996, allocations: 207.4 kB / 0.9394 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/0.2002, allocations: 319 kB / 0.9398 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of SimCode: time 6.01e-07/0.2002, allocations: 0 / 0.9398 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of Templates: time 0.02096/0.2212, allocations: 17.66 MB / 0.957 GB, free: 12.3 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.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.881176468916237]