Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.002021/0.002021, allocations: 80.3 kB / 19.18 MB, free: 2.52 MB / 14.72 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.002453/0.002453, allocations: 161 kB / 22.45 MB, free: 5.375 MB / 14.72 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.432/1.432, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.804/2.804, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.63e-05, allocations: 5.516 kB / 0.9814 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006897/0.006923, allocations: 4.691 MB / 0.986 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.1781, allocations: 132.8 MB / 1.116 GB, free: 2.004 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009254/0.179, allocations: 23.81 kB / 1.116 GB, free: 1.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.1797, allocations: 210 kB / 1.116 GB, free: 1.773 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.1818, allocations: 0.6016 MB / 1.116 GB, free: 1.172 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.184, allocations: 0.891 MB / 1.117 GB, free: 292 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.186, allocations: 1.549 MB / 1.119 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009176/0.1869, allocations: 462.3 kB / 1.119 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.1881, allocations: 0.8186 MB / 1.12 GB, free: 13.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006549/0.1888, allocations: 450.7 kB / 1.121 GB, free: 12.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.189, allocations: 136 kB / 1.121 GB, free: 12.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.1901, allocations: 0.5032 MB / 1.121 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.1904, allocations: 342.9 kB / 1.121 GB, free: 12.01 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.1909, allocations: 430.9 kB / 1.122 GB, free: 11.59 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.1937, allocations: 1.939 MB / 1.124 GB, free: 9.645 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1937, allocations: 3.938 kB / 1.124 GB, free: 9.641 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1937, allocations: 4 kB / 1.124 GB, free: 9.637 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.1937, allocations: 4 kB / 1.124 GB, free: 9.633 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003082/0.1968, allocations: 1.509 MB / 1.125 GB, free: 8.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1968, allocations: 8.031 kB / 1.125 GB, free: 8.082 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.1994, allocations: 371.8 kB / 1.126 GB, free: 7.719 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/0.2008, allocations: 0.7453 MB / 1.126 GB, free: 6.945 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.433e-05/0.2009, allocations: 82.12 kB / 1.126 GB, free: 6.863 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.2011, allocations: 104 kB / 1.127 GB, free: 6.762 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002334/0.2034, allocations: 1.344 MB / 1.128 GB, free: 5.32 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.2034, allocations: 0 / 1.128 GB, free: 5.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.2035, allocations: 36 kB / 1.128 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.2035, allocations: 24 kB / 1.128 GB, free: 5.262 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.2061, allocations: 1.237 MB / 1.129 GB, free: 4.023 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.2113, allocations: 2.398 MB / 1.131 GB, free: 1.578 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.2141, allocations: 0.9463 MB / 1.132 GB, free: 0.625 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008842/0.215, allocations: 363.6 kB / 1.133 GB, free: 272 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.84e-05/0.2151, allocations: 24.98 kB / 1.133 GB, free: 248 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5352/0.7503, allocations: 0.678 MB / 1.133 GB, free: 194.7 MB / 1.076 GB Notification: Performance of pre-optimization done (n=92): time 3.476e-06/0.7503, allocations: 0 / 1.133 GB, free: 194.7 MB / 1.076 GB Notification: Performance of matching and sorting (n=92): time 0.003867/0.7541, allocations: 1.339 MB / 1.135 GB, free: 194.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.7542, allocations: 207.3 kB / 1.135 GB, free: 194.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000712/0.755, allocations: 0.5959 MB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.982e-05/0.755, allocations: 51.55 kB / 1.136 GB, free: 194 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.7553, allocations: 443.4 kB / 1.136 GB, free: 193.8 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.7555, allocations: 303.5 kB / 1.136 GB, free: 193.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.7558, allocations: 187.8 kB / 1.136 GB, free: 193.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.7559, allocations: 392.2 kB / 1.137 GB, free: 193.1 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007374/0.7566, allocations: 352 kB / 1.137 GB, free: 193 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000861/0.7575, allocations: 0.5714 MB / 1.138 GB, free: 192.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.759, allocations: 0.7518 MB / 1.138 GB, free: 192.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.759, allocations: 0 / 1.138 GB, free: 192.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002405/0.7614, allocations: 1.04 MB / 1.139 GB, free: 192 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.7614, allocations: 5.531 kB / 1.139 GB, free: 192 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.7614, allocations: 0 / 1.139 GB, free: 192 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.762, allocations: 94.25 kB / 1.14 GB, free: 192 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008696/0.7629, allocations: 194.5 kB / 1.14 GB, free: 192 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.7648, allocations: 1.498 MB / 1.141 GB, free: 190.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000966/0.7657, allocations: 111.9 kB / 1.141 GB, free: 190.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/0.7658, allocations: 43.67 kB / 1.141 GB, free: 190.6 MB / 1.076 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 (111): * Single equations (assignments): 110 * 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.0005704/0.7664, allocations: 288.2 kB / 1.142 GB, free: 190.4 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.7666, allocations: 87.09 kB / 1.142 GB, free: 190.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.7693, allocations: 1.227 MB / 1.143 GB, free: 189.9 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.7693, allocations: 11.53 kB / 1.143 GB, free: 189.9 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.7693, allocations: 2.844 kB / 1.143 GB, free: 189.9 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.7693, allocations: 7.125 kB / 1.143 GB, free: 189.9 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.773, allocations: 2.096 MB / 1.145 GB, free: 188.9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.773, allocations: 0 / 1.145 GB, free: 188.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007331/0.7738, allocations: 178.4 kB / 1.145 GB, free: 188.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004623/0.7742, allocations: 74.47 kB / 1.145 GB, free: 188.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.7743, allocations: 27.22 kB / 1.145 GB, free: 188.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.7759, allocations: 1.525 MB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.7759, allocations: 7.266 kB / 1.147 GB, free: 187.5 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.7784, allocations: 1.159 MB / 1.148 GB, free: 187 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.7789, allocations: 208.7 kB / 1.148 GB, free: 186.9 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.779, allocations: 28.11 kB / 1.148 GB, free: 186.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008479/0.7799, allocations: 84.11 kB / 1.148 GB, free: 186.9 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.7801, allocations: 87.47 kB / 1.148 GB, free: 186.9 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.7801, allocations: 38.03 kB / 1.148 GB, free: 186.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005517/0.7807, allocations: 433.4 kB / 1.149 GB, free: 186.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7807, allocations: 0 / 1.149 GB, free: 186.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001038/0.7817, allocations: 366 kB / 1.149 GB, free: 186.6 MB / 1.076 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.002169/0.7839, allocations: 0.673 MB / 1.15 GB, free: 186.4 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002375/0.7863, allocations: 0.9681 MB / 1.151 GB, free: 186 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7863, allocations: 2.625 kB / 1.151 GB, free: 186 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.7874, allocations: 0.5667 MB / 1.151 GB, free: 185.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.789, allocations: 295 kB / 1.152 GB, free: 185.7 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.7927, allocations: 1.839 MB / 1.153 GB, free: 184.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.7932, allocations: 477.5 kB / 1.154 GB, free: 184.6 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0009817/0.7942, allocations: 282.2 kB / 1.154 GB, free: 184.5 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.7946, allocations: 113.6 kB / 1.154 GB, free: 184.5 MB / 1.076 GB Notification: Performance of SimCode: time 1.342e-06/0.7946, allocations: 0 / 1.154 GB, free: 184.5 MB / 1.076 GB Notification: Performance of Templates: time 0.02987/0.8244, allocations: 16.31 MB / 1.17 GB, free: 182.6 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.3444534689188]