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.0009874/0.0009874, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009179/0.0009179, allocations: 173.7 kB / 23.28 MB, free: 1.215 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.9472/0.9472, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.336/2.336, allocations: 438.1 MB / 0.682 GB, free: 14.13 MB / 0.6511 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.512e-06/1.512e-06, allocations: 0 / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.624e-05/1.775e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004827/0.004845, allocations: 4.646 MB / 0.8943 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.141/0.1459, allocations: 143.8 MB / 1.035 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.1469, allocations: 19.88 kB / 1.035 GB, free: 4.684 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006515/0.1475, allocations: 198.1 kB / 1.035 GB, free: 4.488 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.1493, allocations: 0.5784 MB / 1.035 GB, free: 3.906 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1508, allocations: 0.8724 MB / 1.036 GB, free: 3.031 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001289/0.1521, allocations: 1.46 MB / 1.038 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006116/0.1527, allocations: 394 kB / 1.038 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/0.1535, allocations: 0.7717 MB / 1.039 GB, free: 392 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.1539, allocations: 378.8 kB / 1.039 GB, free: 12 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.154, allocations: 112 kB / 1.039 GB, free: 15.9 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.1547, allocations: 491.3 kB / 1.04 GB, free: 15.42 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.1549, allocations: 299 kB / 1.04 GB, free: 15.13 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.1551, allocations: 371 kB / 1.04 GB, free: 14.77 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1562, allocations: 1.241 MB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1562, allocations: 0 / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1563, allocations: 3.938 kB / 1.042 GB, free: 13.52 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1563, allocations: 0 / 1.042 GB, free: 13.52 MB / 1.01 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.001516/0.1578, allocations: 1.519 MB / 1.043 GB, free: 11.95 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1578, allocations: 12.62 kB / 1.043 GB, free: 11.94 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.1586, allocations: 327.5 kB / 1.044 GB, free: 11.62 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006962/0.1593, allocations: 0.715 MB / 1.044 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.1594, allocations: 70.12 kB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.589e-05/0.1594, allocations: 91.94 kB / 1.044 GB, free: 10.72 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.1604, allocations: 0.8812 MB / 1.045 GB, free: 9.746 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1604, allocations: 0 / 1.045 GB, free: 9.746 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.1604, allocations: 39.98 kB / 1.045 GB, free: 9.707 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1604, allocations: 24 kB / 1.045 GB, free: 9.684 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005782/0.161, allocations: 0.6689 MB / 1.046 GB, free: 9.012 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/0.163, allocations: 2.184 MB / 1.048 GB, free: 6.777 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.1635, allocations: 463.5 kB / 1.049 GB, free: 6.312 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.1637, allocations: 158.5 kB / 1.049 GB, free: 6.148 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/0.1637, allocations: 48.78 kB / 1.049 GB, free: 6.102 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.1641, allocations: 466.8 kB / 1.049 GB, free: 5.602 MB / 1.01 GB Notification: Performance of pre-optimization done (n=88): time 2.525e-06/0.1641, allocations: 0 / 1.049 GB, free: 5.602 MB / 1.01 GB Notification: Performance of matching and sorting (n=88): time 0.001205/0.1653, allocations: 0.7805 MB / 1.05 GB, free: 4.809 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.1654, allocations: 196.9 kB / 1.05 GB, free: 4.574 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.1658, allocations: 0.5655 MB / 1.051 GB, free: 3.996 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/0.1658, allocations: 49.7 kB / 1.051 GB, free: 3.941 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.166, allocations: 463.8 kB / 1.051 GB, free: 3.48 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.1662, allocations: 297.5 kB / 1.051 GB, free: 3.188 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003258/0.1665, allocations: 188.1 kB / 1.052 GB, free: 2.996 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1666, allocations: 0.5663 MB / 1.052 GB, free: 2.418 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1668, allocations: 113.8 kB / 1.052 GB, free: 2.305 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.167, allocations: 357.7 kB / 1.053 GB, free: 1.906 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.1674, allocations: 343 kB / 1.053 GB, free: 1.555 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1674, allocations: 64 / 1.053 GB, free: 1.555 MB / 1.01 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0007471/0.1681, allocations: 0.6254 MB / 1.054 GB, free: 0.9219 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1681, allocations: 7.938 kB / 1.054 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.1681, allocations: 4 kB / 1.054 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/0.1685, allocations: 139.6 kB / 1.054 GB, free: 0.7695 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.1689, allocations: 171.8 kB / 1.054 GB, free: 0.6016 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4866/0.6554, allocations: 1.865 MB / 1.056 GB, free: 63.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005686/0.656, allocations: 77.38 kB / 1.056 GB, free: 63.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.6561, allocations: 32.08 kB / 1.056 GB, free: 63.7 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.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 (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.0003305/0.6564, allocations: 223.7 kB / 1.056 GB, free: 63.54 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.6565, allocations: 113.7 kB / 1.056 GB, free: 63.54 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/0.6575, allocations: 0.7806 MB / 1.057 GB, free: 63.47 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6575, allocations: 8.812 kB / 1.057 GB, free: 63.47 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.6575, allocations: 3.938 kB / 1.057 GB, free: 63.47 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.6575, allocations: 7.406 kB / 1.057 GB, free: 63.47 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.6589, allocations: 1.446 MB / 1.058 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6589, allocations: 2.531 kB / 1.058 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.6592, allocations: 146.6 kB / 1.058 GB, free: 63.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003147/0.6595, allocations: 111.2 kB / 1.059 GB, free: 63.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.6596, allocations: 27.86 kB / 1.059 GB, free: 63.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009474/0.6605, allocations: 1.891 MB / 1.06 GB, free: 61.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6605, allocations: 0.7812 kB / 1.06 GB, free: 61.38 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.6614, allocations: 0.8189 MB / 1.061 GB, free: 61.14 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.6616, allocations: 198.2 kB / 1.061 GB, free: 61.09 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.6616, allocations: 21.25 kB / 1.061 GB, free: 61.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.6618, allocations: 43.97 kB / 1.061 GB, free: 61.09 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.312e-05/0.6619, allocations: 70.84 kB / 1.062 GB, free: 61.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.662, allocations: 25.05 kB / 1.062 GB, free: 61.09 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002063/0.6622, allocations: 364.5 kB / 1.062 GB, free: 60.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6622, allocations: 0 / 1.062 GB, free: 60.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005818/0.6628, allocations: 340.5 kB / 1.062 GB, free: 60.93 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.001091/0.6638, allocations: 0.6406 MB / 1.063 GB, free: 60.82 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0007012/0.6645, allocations: 0.6154 MB / 1.063 GB, free: 60.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6645, allocations: 0 / 1.063 GB, free: 60.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003285/0.6649, allocations: 456 kB / 1.064 GB, free: 60.42 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006509/0.6655, allocations: 323.2 kB / 1.064 GB, free: 60.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.6673, allocations: 1.487 MB / 1.066 GB, free: 59.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6674, allocations: 195.1 kB / 1.066 GB, free: 59.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003584/0.6678, allocations: 188.7 kB / 1.066 GB, free: 59.59 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004785/0.6683, allocations: 364.8 kB / 1.066 GB, free: 59.52 MB / 1.01 GB Notification: Performance of SimCode: time 5.31e-07/0.6683, allocations: 0 / 1.066 GB, free: 59.52 MB / 1.01 GB Notification: Performance of Templates: time 0.01887/0.6871, allocations: 16.81 MB / 1.083 GB, free: 58.07 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.432340917177498]