Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001493/0.001493, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001865/0.001865, allocations: 169.4 kB / 24.06 MB, free: 456 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 0.982/0.982, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.062/2.062, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.117e-05, allocations: 6.062 kB / 0.8794 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007579/0.00761, allocations: 5.678 MB / 0.8849 GB, free: 384 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1417/0.1494, allocations: 144.1 MB / 1.026 GB, free: 15.78 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008528/0.1502, allocations: 27.75 kB / 1.026 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.1508, allocations: 245.7 kB / 1.026 GB, free: 15.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.1522, allocations: 0.6714 MB / 1.027 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.1538, allocations: 0.9153 MB / 1.027 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001385/0.1552, allocations: 1.743 MB / 1.029 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007125/0.1559, allocations: 0.5821 MB / 1.03 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.1569, allocations: 0.994 MB / 1.031 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004897/0.1574, allocations: 494.5 kB / 1.031 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.1575, allocations: 152 kB / 1.031 GB, free: 9.918 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006776/0.1582, allocations: 0.5188 MB / 1.032 GB, free: 9.398 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.1584, allocations: 382.6 kB / 1.032 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003395/0.1588, allocations: 0.491 MB / 1.033 GB, free: 8.531 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.1602, allocations: 1.487 MB / 1.034 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1602, allocations: 0 / 1.034 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1602, allocations: 0 / 1.034 GB, free: 7.039 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.011e-05/0.1602, allocations: 0 / 1.034 GB, free: 7.039 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: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.003069/0.1633, allocations: 1.821 MB / 1.036 GB, free: 5.172 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.1633, allocations: 12.02 kB / 1.036 GB, free: 5.16 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/0.1642, allocations: 399.3 kB / 1.036 GB, free: 4.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.165, allocations: 0.8004 MB / 1.037 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.1651, allocations: 98.56 kB / 1.037 GB, free: 3.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1652, allocations: 124 kB / 1.037 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.1661, allocations: 1.08 MB / 1.038 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.1661, allocations: 0 / 1.038 GB, free: 2.52 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.1662, allocations: 59.97 kB / 1.038 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.1662, allocations: 28 kB / 1.038 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007316/0.1669, allocations: 0.7492 MB / 1.039 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.1697, allocations: 2.698 MB / 1.042 GB, free: 14.91 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006182/0.1703, allocations: 497.5 kB / 1.042 GB, free: 14.42 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.1705, allocations: 158.6 kB / 1.042 GB, free: 14.26 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.1705, allocations: 28.98 kB / 1.042 GB, free: 14.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004013/0.1709, allocations: 494.8 kB / 1.043 GB, free: 13.7 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.425e-06/0.1709, allocations: 0 / 1.043 GB, free: 13.7 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.00133/0.1723, allocations: 0.8117 MB / 1.044 GB, free: 12.88 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.587e-05/0.1723, allocations: 200.9 kB / 1.044 GB, free: 12.64 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004114/0.1727, allocations: 0.6163 MB / 1.044 GB, free: 12.01 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.1728, allocations: 53.69 kB / 1.045 GB, free: 11.95 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.1731, allocations: 0.5855 MB / 1.045 GB, free: 11.36 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.1733, allocations: 321.3 kB / 1.045 GB, free: 11.04 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001814/0.1734, allocations: 200.1 kB / 1.046 GB, free: 10.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1736, allocations: 0.5819 MB / 1.046 GB, free: 10.24 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1738, allocations: 113.9 kB / 1.046 GB, free: 10.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.174, allocations: 365.7 kB / 1.047 GB, free: 9.723 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.1744, allocations: 375 kB / 1.047 GB, free: 9.344 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.1744, allocations: 0 / 1.047 GB, free: 9.344 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.0008739/0.1753, allocations: 0.6644 MB / 1.048 GB, free: 8.664 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1753, allocations: 4 kB / 1.048 GB, free: 8.66 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1753, allocations: 4.109 kB / 1.048 GB, free: 8.656 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/0.1758, allocations: 135.5 kB / 1.048 GB, free: 8.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/0.1762, allocations: 195.7 kB / 1.048 GB, free: 8.328 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.1774, allocations: 1.883 MB / 1.05 GB, free: 6.328 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.1777, allocations: 85.98 kB / 1.05 GB, free: 6.246 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.1777, allocations: 32.03 kB / 1.05 GB, free: 6.215 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 (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.0002173/0.178, allocations: 227.2 kB / 1.05 GB, free: 5.98 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.1781, allocations: 127.4 kB / 1.05 GB, free: 5.855 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.1791, allocations: 0.8116 MB / 1.051 GB, free: 5.027 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.1791, allocations: 8 kB / 1.051 GB, free: 5.02 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1791, allocations: 3.984 kB / 1.051 GB, free: 5.016 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.1791, allocations: 7.922 kB / 1.051 GB, free: 5.008 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.1808, allocations: 1.581 MB / 1.053 GB, free: 3.379 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1808, allocations: 0 / 1.053 GB, free: 3.379 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.1811, allocations: 151.8 kB / 1.053 GB, free: 3.23 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003276/0.1815, allocations: 111.6 kB / 1.053 GB, free: 3.117 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.1815, allocations: 27.98 kB / 1.053 GB, free: 3.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.1826, allocations: 1.891 MB / 1.055 GB, free: 1.078 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1826, allocations: 0 / 1.055 GB, free: 1.078 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.1835, allocations: 0.8569 MB / 1.056 GB, free: 200 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4602/0.6436, allocations: 212.1 kB / 1.056 GB, free: 75.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/0.644, allocations: 19.66 kB / 1.056 GB, free: 75.67 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.6444, allocations: 41.89 kB / 1.056 GB, free: 75.67 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.6446, allocations: 74.62 kB / 1.056 GB, free: 75.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.6446, allocations: 30.25 kB / 1.056 GB, free: 75.67 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003184/0.6449, allocations: 392.8 kB / 1.056 GB, free: 75.53 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6449, allocations: 0 / 1.056 GB, free: 75.53 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008795/0.6458, allocations: 412.9 kB / 1.057 GB, free: 75.53 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 (105): * Single equations (assignments): 94 * 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.001224/0.647, allocations: 0.6301 MB / 1.057 GB, free: 75.39 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0008921/0.6479, allocations: 0.6452 MB / 1.058 GB, free: 75.21 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6479, allocations: 0 / 1.058 GB, free: 75.21 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.6484, allocations: 471.2 kB / 1.058 GB, free: 75.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.6493, allocations: 339.1 kB / 1.059 GB, free: 75.01 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.6524, allocations: 1.827 MB / 1.06 GB, free: 74.17 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.6526, allocations: 225.3 kB / 1.061 GB, free: 74.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006209/0.6532, allocations: 200 kB / 1.061 GB, free: 74.06 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005988/0.6538, allocations: 382.1 kB / 1.061 GB, free: 74 MB / 1.01 GB Notification: Performance of SimCode: time 1.954e-06/0.6538, allocations: 0 / 1.061 GB, free: 74 MB / 1.01 GB Notification: Performance of Templates: time 0.02229/0.6761, allocations: 17.87 MB / 1.079 GB, free: 72.39 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.558994617313147]