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.00134/0.00134, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001722/0.001722, allocations: 169 kB / 24.27 MB, free: 284 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.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.809/1.809, allocations: 359 MB / 0.6055 GB, free: 10.97 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 1.704e-06/1.704e-06, allocations: 0 / 0.787 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.146e-05, allocations: 6.25 kB / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005417/0.005438, allocations: 5.752 MB / 0.7927 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1383/0.1438, allocations: 146.5 MB / 0.9358 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009128/0.1447, allocations: 27.75 kB / 0.9358 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.1452, allocations: 237.7 kB / 0.936 GB, free: 3.797 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.1465, allocations: 0.652 MB / 0.9367 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1481, allocations: 0.9114 MB / 0.9375 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001292/0.1494, allocations: 1.758 MB / 0.9393 GB, free: 468 kB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006923/0.15, allocations: 0.5815 MB / 0.9398 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009218/0.151, allocations: 0.9512 MB / 0.9408 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004866/0.1515, allocations: 0.5118 MB / 0.9413 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.1516, allocations: 164 kB / 0.9414 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.1523, allocations: 0.5306 MB / 0.9419 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.1525, allocations: 390.7 kB / 0.9423 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003663/0.1529, allocations: 0.5221 MB / 0.9428 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.1543, allocations: 1.518 MB / 0.9443 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1543, allocations: 0 / 0.9443 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1543, allocations: 0 / 0.9443 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.1543, allocations: 0 / 0.9443 GB, free: 11.25 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.001848/0.1561, allocations: 1.822 MB / 0.9461 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1562, allocations: 8.031 kB / 0.9461 GB, free: 9.379 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1572, allocations: 403.3 kB / 0.9465 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008621/0.158, allocations: 0.8262 MB / 0.9473 GB, free: 8.125 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.592e-05/0.1581, allocations: 98.56 kB / 0.9474 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.1582, allocations: 128 kB / 0.9475 GB, free: 7.902 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.1593, allocations: 1.227 MB / 0.9487 GB, free: 6.535 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1594, allocations: 3.938 kB / 0.9487 GB, free: 6.531 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.387e-05/0.1594, allocations: 48 kB / 0.9487 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.1594, allocations: 32 kB / 0.9488 GB, free: 6.453 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1605, allocations: 0.8953 MB / 0.9496 GB, free: 5.547 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.1635, allocations: 2.885 MB / 0.9525 GB, free: 2.594 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000794/0.1643, allocations: 0.5405 MB / 0.953 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002517/0.1646, allocations: 186.6 kB / 0.9532 GB, free: 1.867 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.407e-05/0.1646, allocations: 36.97 kB / 0.9532 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005029/0.1651, allocations: 0.5105 MB / 0.9537 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=95): time 1.784e-06/0.1651, allocations: 0 / 0.9537 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.001552/0.1667, allocations: 0.9017 MB / 0.9546 GB, free: 368 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1668, allocations: 200.9 kB / 0.9548 GB, free: 124 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.1673, allocations: 0.6439 MB / 0.9554 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.1674, allocations: 53.7 kB / 0.9555 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.1676, allocations: 0.5817 MB / 0.956 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.1678, allocations: 321.3 kB / 0.9563 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/0.168, allocations: 200.2 kB / 0.9565 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1682, allocations: 0.5703 MB / 0.9571 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.1684, allocations: 157.9 kB / 0.9572 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.1688, allocations: 397.8 kB / 0.9576 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005484/0.1694, allocations: 435.1 kB / 0.958 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1694, allocations: 0 / 0.958 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001051/0.1704, allocations: 0.7386 MB / 0.9587 GB, free: 11.92 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1704, allocations: 8 kB / 0.9588 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1704, allocations: 0 / 0.9588 GB, free: 11.91 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.1709, allocations: 131.7 kB / 0.9589 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004223/0.1713, allocations: 195.7 kB / 0.9591 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/0.1725, allocations: 1.91 MB / 0.9609 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.1728, allocations: 88.14 kB / 0.961 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.674e-05/0.1729, allocations: 39.98 kB / 0.9611 GB, free: 9.43 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.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 (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.0002108/0.1731, allocations: 219 kB / 0.9613 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.1732, allocations: 127.4 kB / 0.9614 GB, free: 9.078 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.1744, allocations: 0.8937 MB / 0.9623 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1744, allocations: 15.94 kB / 0.9623 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.1744, allocations: 0 / 0.9623 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.1744, allocations: 7.969 kB / 0.9623 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002002/0.1764, allocations: 1.799 MB / 0.964 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1764, allocations: 0 / 0.964 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.1768, allocations: 163.7 kB / 0.9642 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.1771, allocations: 115.6 kB / 0.9643 GB, free: 6.008 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.1771, allocations: 31.92 kB / 0.9643 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1782, allocations: 1.918 MB / 0.9662 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1782, allocations: 0 / 0.9662 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1792, allocations: 0.9312 MB / 0.9671 GB, free: 2.973 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.1795, allocations: 219 kB / 0.9673 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.1796, allocations: 24 kB / 0.9673 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.1798, allocations: 45.67 kB / 0.9674 GB, free: 2.691 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.1799, allocations: 80.8 kB / 0.9675 GB, free: 2.613 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.18, allocations: 39.97 kB / 0.9675 GB, free: 2.574 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003309/0.1803, allocations: 430.9 kB / 0.9679 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1803, allocations: 0 / 0.9679 GB, free: 2.16 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006464/0.181, allocations: 414.8 kB / 0.9683 GB, free: 1.754 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.001196/0.1821, allocations: 0.6331 MB / 0.9689 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000925/0.1831, allocations: 0.7147 MB / 0.9696 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1831, allocations: 0 / 0.9696 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.1835, allocations: 0.4933 MB / 0.9701 GB, free: 44 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.1843, allocations: 338 kB / 0.9704 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1867, allocations: 1.872 MB / 0.9723 GB, free: 13.81 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.1868, allocations: 227.3 kB / 0.9725 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004638/0.1873, allocations: 267.3 kB / 0.9727 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.1875, allocations: 116.4 kB / 0.9728 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of SimCode: time 7.71e-07/0.1875, allocations: 0 / 0.9728 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of Templates: time 0.01917/0.2067, allocations: 16.51 MB / 0.989 GB, free: 12.96 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: 6.020661999005824]