Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001302/0.001302, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001566/0.001566, allocations: 185.3 kB / 24.09 MB, free: 416 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 1.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.756/1.756, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.611e-05, allocations: 4.703 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00716/0.007186, allocations: 5.66 MB / 0.793 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1305/0.1376, allocations: 144.1 MB / 0.9337 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008687/0.1385, allocations: 35.69 kB / 0.9338 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.1391, allocations: 241.7 kB / 0.934 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1409, allocations: 0.6713 MB / 0.9347 GB, free: 5.039 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.1427, allocations: 0.9075 MB / 0.9355 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001782/0.1444, allocations: 1.747 MB / 0.9372 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008184/0.1453, allocations: 0.5782 MB / 0.9378 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.1465, allocations: 1.002 MB / 0.9388 GB, free: 0.75 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006175/0.1471, allocations: 490.5 kB / 0.9393 GB, free: 276 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.1474, allocations: 152 kB / 0.9394 GB, free: 124 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.1484, allocations: 0.5188 MB / 0.9399 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.1487, allocations: 374.7 kB / 0.9403 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0004857/0.1492, allocations: 0.4987 MB / 0.9408 GB, free: 14.73 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.1509, allocations: 1.483 MB / 0.9422 GB, free: 13.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1509, allocations: 4 kB / 0.9422 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1509, allocations: 0 / 0.9422 GB, free: 13.24 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.553e-05/0.151, allocations: 0 / 0.9422 GB, free: 13.24 MB / 0.9011 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.00207/0.153, allocations: 1.826 MB / 0.944 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1531, allocations: 8.031 kB / 0.944 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/0.154, allocations: 407.2 kB / 0.9444 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008121/0.1548, allocations: 0.8082 MB / 0.9452 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.1548, allocations: 98.56 kB / 0.9453 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.1549, allocations: 124 kB / 0.9454 GB, free: 9.906 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009422/0.1559, allocations: 1.08 MB / 0.9464 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.1559, allocations: 0 / 0.9464 GB, free: 8.707 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.156, allocations: 52 kB / 0.9465 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.156, allocations: 39.94 kB / 0.9465 GB, free: 8.617 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007132/0.1567, allocations: 0.7453 MB / 0.9473 GB, free: 7.859 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002873/0.1596, allocations: 2.704 MB / 0.9499 GB, free: 5.098 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005843/0.1602, allocations: 489.6 kB / 0.9504 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.1603, allocations: 166.5 kB / 0.9505 GB, free: 4.449 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.367e-05/0.1604, allocations: 52.78 kB / 0.9506 GB, free: 4.395 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003962/0.1608, allocations: 494.7 kB / 0.951 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=95): time 2.425e-06/0.1608, allocations: 0 / 0.951 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.001273/0.162, allocations: 0.8118 MB / 0.9518 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.1621, allocations: 196.9 kB / 0.952 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.1625, allocations: 0.6163 MB / 0.9526 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.1626, allocations: 49.7 kB / 0.9527 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.1629, allocations: 0.5894 MB / 0.9533 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.163, allocations: 325.2 kB / 0.9536 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.1632, allocations: 200.1 kB / 0.9538 GB, free: 1 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1634, allocations: 0.5819 MB / 0.9543 GB, free: 416 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1635, allocations: 117.9 kB / 0.9544 GB, free: 296 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.1638, allocations: 369.7 kB / 0.9548 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.1642, allocations: 367.1 kB / 0.9551 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1642, allocations: 3.938 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0008386/0.165, allocations: 0.6644 MB / 0.9558 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.165, allocations: 10.19 kB / 0.9558 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.165, allocations: 0 / 0.9558 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003999/0.1654, allocations: 135.6 kB / 0.9559 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.166, allocations: 195.7 kB / 0.9561 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.1672, allocations: 1.863 MB / 0.9579 GB, free: 12.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.1675, allocations: 91.52 kB / 0.958 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.1675, allocations: 31.98 kB / 0.9581 GB, free: 12.39 MB / 0.9167 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.0002187/0.1678, allocations: 223.2 kB / 0.9583 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1679, allocations: 123.4 kB / 0.9584 GB, free: 12.04 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009838/0.1689, allocations: 0.831 MB / 0.9592 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.1689, allocations: 12 kB / 0.9592 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1689, allocations: 0 / 0.9592 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.1689, allocations: 7.969 kB / 0.9592 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.1706, allocations: 1.585 MB / 0.9608 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1706, allocations: 0 / 0.9608 GB, free: 9.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.1709, allocations: 151.8 kB / 0.9609 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003137/0.1712, allocations: 119.6 kB / 0.961 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.1713, allocations: 23.98 kB / 0.961 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00101/0.1723, allocations: 1.895 MB / 0.9629 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1723, allocations: 0 / 0.9629 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/0.1733, allocations: 0.8686 MB / 0.9637 GB, free: 6.336 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000233/0.1735, allocations: 207 kB / 0.9639 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.1736, allocations: 20 kB / 0.964 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.1738, allocations: 43.97 kB / 0.964 GB, free: 6.07 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.1739, allocations: 76.84 kB / 0.9641 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.1739, allocations: 27.98 kB / 0.9641 GB, free: 5.969 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002388/0.1742, allocations: 394.8 kB / 0.9645 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1742, allocations: 0 / 0.9645 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007277/0.1749, allocations: 410.7 kB / 0.9649 GB, free: 5.188 MB / 0.9167 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.001149/0.176, allocations: 0.6449 MB / 0.9655 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0007452/0.1768, allocations: 0.6483 MB / 0.9661 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1768, allocations: 4 kB / 0.9661 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000382/0.1772, allocations: 469.1 kB / 0.9666 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007074/0.1779, allocations: 342.2 kB / 0.9669 GB, free: 3.246 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.1803, allocations: 1.833 MB / 0.9687 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.1805, allocations: 223.4 kB / 0.9689 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0004629/0.1809, allocations: 199.5 kB / 0.9691 GB, free: 0.9258 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005505/0.1815, allocations: 381.9 kB / 0.9695 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of SimCode: time 1.333e-06/0.1815, allocations: 0 / 0.9695 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of Templates: time 0.02164/0.2031, allocations: 17.62 MB / 0.9867 GB, free: 15.25 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.60618215193972]