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.0009733/0.0009733, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009594/0.0009594, allocations: 173 kB / 23.5 MB, free: 1.051 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.9775/0.9775, allocations: 177.1 MB / 203.8 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.138/2.138, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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.934e-06/1.934e-06, allocations: 0 / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/2.018e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.00476/0.00478, allocations: 4.717 MB / 0.8828 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1251/0.1298, allocations: 146.3 MB / 1.026 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008336/0.1307, allocations: 19.81 kB / 1.026 GB, free: 15.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.1312, allocations: 198.2 kB / 1.026 GB, free: 14.89 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.1326, allocations: 0.5669 MB / 1.026 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.134, allocations: 0.8685 MB / 1.027 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0009347/0.1349, allocations: 1.467 MB / 1.029 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.1354, allocations: 390 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.136, allocations: 0.7445 MB / 1.03 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.1364, allocations: 406.8 kB / 1.03 GB, free: 10.43 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001064/0.1365, allocations: 124 kB / 1.03 GB, free: 10.3 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005615/0.137, allocations: 499.4 kB / 1.031 GB, free: 9.816 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.1372, allocations: 314.9 kB / 1.031 GB, free: 9.508 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.1375, allocations: 387 kB / 1.031 GB, free: 9.129 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.1387, allocations: 1.28 MB / 1.033 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1387, allocations: 0 / 1.033 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1387, allocations: 0 / 1.033 GB, free: 7.844 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.1387, allocations: 4 kB / 1.033 GB, free: 7.84 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.001542/0.1402, allocations: 1.523 MB / 1.034 GB, free: 6.27 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1403, allocations: 8.031 kB / 1.034 GB, free: 6.262 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008587/0.1411, allocations: 323.6 kB / 1.034 GB, free: 5.945 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007531/0.1419, allocations: 0.7286 MB / 1.035 GB, free: 5.191 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.641e-05/0.1419, allocations: 74.11 kB / 1.035 GB, free: 5.121 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-05/0.142, allocations: 88 kB / 1.035 GB, free: 5.035 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009462/0.143, allocations: 1.009 MB / 1.036 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.143, allocations: 0 / 1.036 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.143, allocations: 36 kB / 1.036 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.143, allocations: 24 kB / 1.036 GB, free: 3.848 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008341/0.1439, allocations: 0.7957 MB / 1.037 GB, free: 3.055 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.1463, allocations: 2.329 MB / 1.039 GB, free: 0.6602 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.147, allocations: 0.505 MB / 1.04 GB, free: 148 kB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.1473, allocations: 174.6 kB / 1.04 GB, free: 15.97 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.1473, allocations: 32.97 kB / 1.04 GB, free: 15.94 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/0.1478, allocations: 0.5067 MB / 1.041 GB, free: 15.39 MB / 1.01 GB Notification: Performance of pre-optimization done (n=88): time 2.104e-06/0.1478, allocations: 0 / 1.041 GB, free: 15.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=88): time 0.001508/0.1493, allocations: 0.8548 MB / 1.041 GB, free: 14.52 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.1494, allocations: 204.9 kB / 1.042 GB, free: 14.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.1498, allocations: 0.5815 MB / 1.042 GB, free: 13.68 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.1499, allocations: 53.69 kB / 1.042 GB, free: 13.62 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1501, allocations: 448 kB / 1.043 GB, free: 13.18 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.1502, allocations: 293.5 kB / 1.043 GB, free: 12.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.1504, allocations: 192.2 kB / 1.043 GB, free: 12.69 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1506, allocations: 0.5586 MB / 1.044 GB, free: 12.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.1508, allocations: 145.9 kB / 1.044 GB, free: 11.98 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.1511, allocations: 389.8 kB / 1.044 GB, free: 11.55 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.1516, allocations: 403.1 kB / 1.045 GB, free: 11.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1516, allocations: 4 kB / 1.045 GB, free: 11.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001021/0.1527, allocations: 0.6918 MB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.1527, allocations: 6.656 kB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.1527, allocations: 4 kB / 1.045 GB, free: 10.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/0.1532, allocations: 127.6 kB / 1.045 GB, free: 10.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.1536, allocations: 183.7 kB / 1.046 GB, free: 10.12 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/0.1551, allocations: 1.9 MB / 1.047 GB, free: 8.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002825/0.1554, allocations: 79.53 kB / 1.048 GB, free: 8.012 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.1554, allocations: 43.91 kB / 1.048 GB, free: 7.969 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.0001992/0.1556, allocations: 215.2 kB / 1.048 GB, free: 7.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.1557, allocations: 119.4 kB / 1.048 GB, free: 7.633 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.1569, allocations: 0.8419 MB / 1.049 GB, free: 6.77 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.1569, allocations: 8 kB / 1.049 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1569, allocations: 0 / 1.049 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1569, allocations: 3.984 kB / 1.049 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.1587, allocations: 1.659 MB / 1.05 GB, free: 5.043 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1587, allocations: 0 / 1.05 GB, free: 5.043 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.159, allocations: 143.8 kB / 1.05 GB, free: 4.902 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003337/0.1593, allocations: 115.6 kB / 1.051 GB, free: 4.785 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.1593, allocations: 27.97 kB / 1.051 GB, free: 4.758 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.1604, allocations: 1.915 MB / 1.052 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1604, allocations: 0 / 1.052 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1614, allocations: 0.8844 MB / 1.053 GB, free: 1.809 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/0.1616, allocations: 207 kB / 1.054 GB, free: 1.605 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.17e-05/0.1617, allocations: 20 kB / 1.054 GB, free: 1.586 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.1619, allocations: 47.95 kB / 1.054 GB, free: 1.539 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.1621, allocations: 68.86 kB / 1.054 GB, free: 1.473 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.1621, allocations: 47.91 kB / 1.054 GB, free: 1.426 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002823/0.1624, allocations: 395 kB / 1.054 GB, free: 1.047 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.1624, allocations: 0 / 1.054 GB, free: 1.047 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005498/0.1629, allocations: 339.1 kB / 1.054 GB, free: 0.7148 MB / 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.001165/0.1641, allocations: 0.634 MB / 1.055 GB, free: 256 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.3499/0.514, allocations: 0.6791 MB / 1.056 GB, free: 220.2 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/0.514, allocations: 4.5 kB / 1.056 GB, free: 220.2 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006922/0.5147, allocations: 477.3 kB / 1.056 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.5158, allocations: 322.5 kB / 1.056 GB, free: 220.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.5185, allocations: 1.527 MB / 1.058 GB, free: 219.4 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.5186, allocations: 197.3 kB / 1.058 GB, free: 219.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006178/0.5192, allocations: 252.3 kB / 1.058 GB, free: 219.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.5194, allocations: 118.4 kB / 1.059 GB, free: 219.3 MB / 1.01 GB Notification: Performance of SimCode: time 3.216e-06/0.5194, allocations: 0 / 1.059 GB, free: 219.3 MB / 1.01 GB Notification: Performance of Templates: time 0.02024/0.5397, allocations: 15.76 MB / 1.074 GB, free: 217.7 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.586397026898339]