Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 106.8 kB / 16.36 MB, free: 5.875 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.001446/0.001446, allocations: 199.6 kB / 17.3 MB, free: 5.516 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.442/2.442, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 64.22 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2929, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006627/0.2995, allocations: 5.166 MB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.679/0.9785, allocations: 150.7 MB / 1.179 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009363/0.9795, allocations: 14.88 kB / 1.179 GB, free: 6.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0008185/0.9803, allocations: 205.9 kB / 1.179 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.9829, allocations: 0.5626 MB / 1.18 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.9855, allocations: 0.8525 MB / 1.18 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002219/0.9877, allocations: 1.462 MB / 1.182 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.9889, allocations: 0.6572 MB / 1.183 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009617/0.9898, allocations: 0.5199 MB / 1.183 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.9909, allocations: 0.5565 MB / 1.184 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.9912, allocations: 127.7 kB / 1.184 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.9924, allocations: 499.3 kB / 1.184 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.9927, allocations: 321.3 kB / 1.185 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009325/0.9937, allocations: 0.6126 MB / 1.185 GB, free: 2.602 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002455/0.9962, allocations: 1.743 MB / 1.187 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.9962, allocations: 4 kB / 1.187 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9962, allocations: 5.406 kB / 1.187 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.248e-05/0.9963, allocations: 0 / 1.187 GB, free: 1.34 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003898/1, allocations: 1.512 MB / 1.188 GB, free: 160 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1, allocations: 10.28 kB / 1.188 GB, free: 160 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/1.002, allocations: 301.2 kB / 1.189 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/1.003, allocations: 0.7913 MB / 1.189 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/1.003, allocations: 71.97 kB / 1.189 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/1.004, allocations: 90.41 kB / 1.19 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001941/1.006, allocations: 1.07 MB / 1.191 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/1.006, allocations: 0 / 1.191 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.319e-05/1.006, allocations: 45.73 kB / 1.191 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/1.006, allocations: 23.81 kB / 1.191 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/1.008, allocations: 1.267 MB / 1.192 GB, free: 14.02 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.00468/1.013, allocations: 2.953 MB / 1.195 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/1.015, allocations: 1.022 MB / 1.196 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/1.016, allocations: 361.2 kB / 1.196 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.391e-05/1.016, allocations: 38.06 kB / 1.196 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00103/1.017, allocations: 0.5583 MB / 1.197 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 2.525e-06/1.017, allocations: 0 / 1.197 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84): time 0.003909/1.021, allocations: 1.389 MB / 1.198 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.021, allocations: 191.3 kB / 1.198 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009249/1.022, allocations: 0.6423 MB / 1.199 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.995e-05/1.022, allocations: 42.2 kB / 1.199 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003526/1.023, allocations: 425.6 kB / 1.199 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001953/1.023, allocations: 272.2 kB / 1.2 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/1.023, allocations: 169.1 kB / 1.2 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.023, allocations: 386.5 kB / 1.2 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007472/1.024, allocations: 327.1 kB / 1.2 GB, free: 7.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/1.025, allocations: 421.7 kB / 1.201 GB, free: 7.746 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/1.027, allocations: 0.7078 MB / 1.201 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.027, allocations: 2.719 kB / 1.201 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002404/1.029, allocations: 0.972 MB / 1.202 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.55e-05/1.029, allocations: 5.188 kB / 1.202 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.029, allocations: 6.781 kB / 1.202 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006431/1.03, allocations: 82.64 kB / 1.203 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008553/1.031, allocations: 191.5 kB / 1.203 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/1.033, allocations: 1.631 MB / 1.204 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009995/1.034, allocations: 123.8 kB / 1.204 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.528e-05/1.034, allocations: 34.22 kB / 1.204 GB, free: 5.109 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 (98): * Single equations (assignments): 97 * 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.0005155/1.035, allocations: 277.5 kB / 1.205 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001731/1.035, allocations: 87.38 kB / 1.205 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/1.038, allocations: 1.203 MB / 1.206 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.038, allocations: 10.09 kB / 1.206 GB, free: 4.191 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.038, allocations: 3.984 kB / 1.206 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.038, allocations: 3.984 kB / 1.206 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/1.041, allocations: 2.133 MB / 1.208 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.041, allocations: 0 / 1.208 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/1.042, allocations: 181.2 kB / 1.208 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/1.043, allocations: 71.84 kB / 1.208 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.459e-05/1.043, allocations: 30.39 kB / 1.208 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.045, allocations: 1.658 MB / 1.21 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/1.045, allocations: 1.562 kB / 1.21 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/1.047, allocations: 1.119 MB / 1.211 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004484/1.048, allocations: 279.7 kB / 1.211 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/1.048, allocations: 23.91 kB / 1.211 GB, free: 15.44 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/1.048, allocations: 79.91 kB / 1.211 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.049, allocations: 76.89 kB / 1.212 GB, free: 15.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/1.049, allocations: 39.92 kB / 1.212 GB, free: 15.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005733/1.049, allocations: 467 kB / 1.212 GB, free: 14.8 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.049, allocations: 0 / 1.212 GB, free: 14.8 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009359/1.05, allocations: 351.1 kB / 1.212 GB, free: 14.46 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 (97): * Single equations (assignments): 91 * 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.001378/1.052, allocations: 0.6 MB / 1.213 GB, free: 14.03 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.054, allocations: 0.9611 MB / 1.214 GB, free: 13.06 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.054, allocations: 4 kB / 1.214 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.055, allocations: 0.5783 MB / 1.214 GB, free: 12.46 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.056, allocations: 305 kB / 1.215 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00316/1.059, allocations: 1.784 MB / 1.216 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.06, allocations: 1.043 MB / 1.217 GB, free: 9.309 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008241/1.061, allocations: 282.9 kB / 1.218 GB, free: 9.027 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/1.061, allocations: 111.4 kB / 1.218 GB, free: 8.918 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/1.061, allocations: 4 kB / 1.218 GB, free: 8.914 MB / 0.92 GB Notification: Performance of Templates: time 0.02492/1.086, allocations: 15.89 MB / 1.233 GB, free: 9.23 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches