Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 106.5 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.506/2.506, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 64.12 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2832, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006531/0.2898, allocations: 5.19 MB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6592/0.949, allocations: 150.7 MB / 1.179 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.9503, allocations: 16.38 kB / 1.179 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008322/0.9511, allocations: 201.3 kB / 1.179 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/0.9539, allocations: 0.5708 MB / 1.18 GB, free: 6.008 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.9563, allocations: 0.8636 MB / 1.181 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002287/0.9586, allocations: 1.458 MB / 1.182 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.9599, allocations: 0.6541 MB / 1.183 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.961, allocations: 0.5157 MB / 1.183 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.9621, allocations: 0.543 MB / 1.184 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003512/0.9624, allocations: 124.5 kB / 1.184 GB, free: 3.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/0.9637, allocations: 0.5081 MB / 1.184 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003871/0.9641, allocations: 321 kB / 1.185 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008292/0.965, allocations: 0.6116 MB / 1.185 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.9679, allocations: 1.74 MB / 1.187 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9679, allocations: 0 / 1.187 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.406e-06/0.9679, allocations: 5.141 kB / 1.187 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.571e-05/0.9679, allocations: 7.75 kB / 1.187 GB, free: 1.355 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.00347/0.9714, allocations: 1.508 MB / 1.188 GB, free: 172 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.9715, allocations: 9.656 kB / 1.188 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.9726, allocations: 217.8 kB / 1.189 GB, free: 64 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.9739, allocations: 0.7826 MB / 1.189 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/0.974, allocations: 67.84 kB / 1.189 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.9742, allocations: 93.34 kB / 1.189 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.9759, allocations: 1.012 MB / 1.19 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.9759, allocations: 0 / 1.19 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.002e-05/0.976, allocations: 41.61 kB / 1.191 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.9761, allocations: 23.38 kB / 1.191 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.978, allocations: 1.183 MB / 1.192 GB, free: 14.12 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004476/0.9825, allocations: 2.929 MB / 1.195 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.9842, allocations: 0.9134 MB / 1.195 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.9848, allocations: 324.5 kB / 1.196 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006253/0.9854, allocations: 465.9 kB / 1.196 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008341/0.9862, allocations: 0.504 MB / 1.197 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=82): time 2.184e-06/0.9863, allocations: 0 / 1.197 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=82): time 0.003233/0.9895, allocations: 1.231 MB / 1.198 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.9896, allocations: 196.4 kB / 1.198 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/0.9903, allocations: 0.6474 MB / 1.199 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.9904, allocations: 42.95 kB / 1.199 GB, free: 8.938 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.9907, allocations: 422.5 kB / 1.199 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.9909, allocations: 265 kB / 1.199 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.9912, allocations: 168.8 kB / 1.2 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.9913, allocations: 386.8 kB / 1.2 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005339/0.9919, allocations: 279.5 kB / 1.2 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/0.9925, allocations: 374.1 kB / 1.201 GB, free: 7.516 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.9937, allocations: 0.6299 MB / 1.201 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9937, allocations: 2.75 kB / 1.201 GB, free: 7.176 MB / 0.9044 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001949/0.9956, allocations: 0.8671 MB / 1.202 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9957, allocations: 11.44 kB / 1.202 GB, free: 6.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.9957, allocations: 4.094 kB / 1.202 GB, free: 6.723 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/0.9963, allocations: 81.42 kB / 1.202 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.997, allocations: 174.8 kB / 1.202 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.999, allocations: 1.631 MB / 1.204 GB, free: 5.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.9998, allocations: 96.91 kB / 1.204 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.9999, allocations: 43.56 kB / 1.204 GB, free: 4.957 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (96): * Single equations (assignments): 95 * 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.0004399/1, allocations: 266.9 kB / 1.204 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/1, allocations: 88.19 kB / 1.204 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/1.003, allocations: 1.098 MB / 1.205 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/1.003, allocations: 10.31 kB / 1.205 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.003, allocations: 0 / 1.205 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/1.003, allocations: 3.984 kB / 1.205 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/1.006, allocations: 2.008 MB / 1.207 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/1.006, allocations: 0 / 1.207 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006388/1.007, allocations: 151.9 kB / 1.208 GB, free: 2.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004538/1.008, allocations: 74.81 kB / 1.208 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/1.008, allocations: 23.45 kB / 1.208 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/1.01, allocations: 1.659 MB / 1.209 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.01, allocations: 0 / 1.209 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002186/1.012, allocations: 1.02 MB / 1.21 GB, free: 476 kB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005404/1.012, allocations: 273.9 kB / 1.211 GB, free: 232 kB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/1.013, allocations: 24.66 kB / 1.211 GB, free: 212 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000761/1.013, allocations: 74.67 kB / 1.211 GB, free: 144 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.013, allocations: 72.88 kB / 1.211 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-05/1.014, allocations: 35.98 kB / 1.211 GB, free: 36 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006906/1.014, allocations: 467.1 kB / 1.211 GB, free: 15.58 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.3e-07/1.014, allocations: 4 kB / 1.211 GB, free: 15.58 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001109/1.015, allocations: 351.1 kB / 1.211 GB, free: 15.23 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001531/1.017, allocations: 0.6182 MB / 1.212 GB, free: 14.8 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.019, allocations: 0.8597 MB / 1.213 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.019, allocations: 3.938 kB / 1.213 GB, free: 13.93 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/1.02, allocations: 0.5275 MB / 1.213 GB, free: 13.38 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/1.022, allocations: 302.9 kB / 1.214 GB, free: 13.11 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/1.025, allocations: 1.726 MB / 1.215 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000727/1.026, allocations: 1.039 MB / 1.216 GB, free: 10.29 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008751/1.027, allocations: 266.8 kB / 1.217 GB, free: 10.03 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/1.027, allocations: 103.4 kB / 1.217 GB, free: 9.926 MB / 0.92 GB Notification: Performance of SimCode: time 8.42e-07/1.027, allocations: 4 kB / 1.217 GB, free: 9.922 MB / 0.92 GB Notification: Performance of Templates: time 0.03037/1.057, allocations: 15.79 MB / 1.232 GB, free: 10.33 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches