Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.001325/0.001325, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001469/0.001469, allocations: 173 kB / 23.02 MB, free: 1.547 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.8936/0.8936, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.042/2.042, allocations: 429.5 MB / 0.6733 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.533e-05/1.668e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004615/0.004632, allocations: 4.746 MB / 0.8828 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1267/0.1313, allocations: 146.5 MB / 1.026 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007185/0.132, allocations: 23.81 kB / 1.026 GB, free: 14.49 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005424/0.1326, allocations: 194.2 kB / 1.026 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.1341, allocations: 0.5785 MB / 1.027 GB, free: 13.71 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1355, allocations: 0.8685 MB / 1.028 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.1368, allocations: 1.467 MB / 1.029 GB, free: 11.37 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000583/0.1373, allocations: 389.9 kB / 1.029 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.1384, allocations: 0.7719 MB / 1.03 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.1389, allocations: 378.8 kB / 1.03 GB, free: 9.824 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.139, allocations: 108 kB / 1.031 GB, free: 9.719 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008399/0.1398, allocations: 495.3 kB / 1.031 GB, free: 9.234 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.14, allocations: 299 kB / 1.031 GB, free: 8.941 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000293/0.1403, allocations: 375 kB / 1.032 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.1418, allocations: 1.245 MB / 1.033 GB, free: 7.324 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.1418, allocations: 4 kB / 1.033 GB, free: 7.32 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1418, allocations: 4 kB / 1.033 GB, free: 7.316 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.947e-05/0.1418, allocations: 0 / 1.033 GB, free: 7.316 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001932/0.1437, allocations: 1.511 MB / 1.034 GB, free: 5.758 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1438, allocations: 8.031 kB / 1.034 GB, free: 5.75 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008836/0.1447, allocations: 323.6 kB / 1.035 GB, free: 5.434 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007754/0.1454, allocations: 0.715 MB / 1.035 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.1455, allocations: 70.12 kB / 1.035 GB, free: 4.625 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-05/0.1456, allocations: 95.98 kB / 1.036 GB, free: 4.531 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1466, allocations: 0.9361 MB / 1.036 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1466, allocations: 0 / 1.036 GB, free: 3.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.1466, allocations: 36 kB / 1.036 GB, free: 3.465 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.1466, allocations: 20 kB / 1.037 GB, free: 3.445 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009485/0.1476, allocations: 0.7841 MB / 1.037 GB, free: 2.656 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.1501, allocations: 2.286 MB / 1.04 GB, free: 316 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.1508, allocations: 0.503 MB / 1.04 GB, free: 15.8 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.1511, allocations: 186.5 kB / 1.04 GB, free: 15.61 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.321e-05/0.1511, allocations: 32.97 kB / 1.04 GB, free: 15.58 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004755/0.1516, allocations: 494.9 kB / 1.041 GB, free: 15.05 MB / 1.01 GB Notification: Performance of pre-optimization done (n=88): time 2.184e-06/0.1516, allocations: 4 kB / 1.041 GB, free: 15.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=88): time 0.001548/0.1531, allocations: 0.8509 MB / 1.042 GB, free: 14.18 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.1532, allocations: 200.9 kB / 1.042 GB, free: 13.95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004697/0.1537, allocations: 0.5776 MB / 1.042 GB, free: 13.36 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.1538, allocations: 53.7 kB / 1.042 GB, free: 13.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.154, allocations: 452 kB / 1.043 GB, free: 12.85 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.1541, allocations: 301.4 kB / 1.043 GB, free: 12.55 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.1543, allocations: 188.2 kB / 1.043 GB, free: 12.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1545, allocations: 0.5586 MB / 1.044 GB, free: 11.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.1549, allocations: 141.9 kB / 1.044 GB, free: 11.65 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.1552, allocations: 389.8 kB / 1.044 GB, free: 11.22 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.1557, allocations: 403.1 kB / 1.045 GB, free: 10.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1557, allocations: 0 / 1.045 GB, free: 10.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001043/0.1568, allocations: 0.6879 MB / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1568, allocations: 8.078 kB / 1.045 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1568, allocations: 8 kB / 1.045 GB, free: 10.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004579/0.1573, allocations: 123.6 kB / 1.045 GB, free: 9.973 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.1576, allocations: 175.8 kB / 1.046 GB, free: 9.801 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.159, allocations: 1.92 MB / 1.048 GB, free: 7.754 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.1594, allocations: 69.8 kB / 1.048 GB, free: 7.688 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.709e-05/0.1594, allocations: 39.97 kB / 1.048 GB, free: 7.648 MB / 1.01 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 (108): * Single equations (assignments): 107 * 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.0003094/0.1598, allocations: 215.1 kB / 1.048 GB, free: 7.43 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.1599, allocations: 123.4 kB / 1.048 GB, free: 7.309 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.1611, allocations: 0.8419 MB / 1.049 GB, free: 6.441 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.1611, allocations: 12 kB / 1.049 GB, free: 6.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.1611, allocations: 0 / 1.049 GB, free: 6.43 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.1611, allocations: 3.984 kB / 1.049 GB, free: 6.426 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/0.163, allocations: 1.624 MB / 1.05 GB, free: 4.75 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.163, allocations: 0 / 1.05 GB, free: 4.75 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.1633, allocations: 143.8 kB / 1.05 GB, free: 4.609 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.1636, allocations: 115.6 kB / 1.051 GB, free: 4.492 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.1637, allocations: 27.97 kB / 1.051 GB, free: 4.465 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.1649, allocations: 1.93 MB / 1.053 GB, free: 2.41 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1649, allocations: 0 / 1.053 GB, free: 2.41 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.1659, allocations: 0.8805 MB / 1.053 GB, free: 1.504 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.1661, allocations: 191.1 kB / 1.054 GB, free: 1.316 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.1662, allocations: 23.98 kB / 1.054 GB, free: 1.293 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1664, allocations: 39.97 kB / 1.054 GB, free: 1.254 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1666, allocations: 68.88 kB / 1.054 GB, free: 1.188 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.1666, allocations: 43.91 kB / 1.054 GB, free: 1.145 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002811/0.1669, allocations: 383 kB / 1.054 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1669, allocations: 0 / 1.054 GB, free: 0.7734 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006956/0.1676, allocations: 347.1 kB / 1.054 GB, free: 444 kB / 1.01 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 (98): * Single equations (assignments): 87 * 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.3849/0.5525, allocations: 0.6167 MB / 1.055 GB, free: 74.45 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001293/0.5538, allocations: 0.6795 MB / 1.056 GB, free: 74.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5538, allocations: 0 / 1.056 GB, free: 74.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005319/0.5543, allocations: 489.4 kB / 1.056 GB, free: 74.09 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.5554, allocations: 315 kB / 1.056 GB, free: 74.09 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.5579, allocations: 1.519 MB / 1.058 GB, free: 73.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.558, allocations: 191.2 kB / 1.058 GB, free: 73.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006027/0.5586, allocations: 261.4 kB / 1.058 GB, free: 73.31 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.5588, allocations: 107.8 kB / 1.058 GB, free: 73.31 MB / 1.01 GB Notification: Performance of SimCode: time 1.523e-06/0.5588, allocations: 0 / 1.058 GB, free: 73.31 MB / 1.01 GB Notification: Performance of Templates: time 0.0183/0.5771, allocations: 16.47 MB / 1.075 GB, free: 71.92 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.3550424901768565]