Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001175/0.001179, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001243/0.001243, allocations: 187 kB / 17.34 MB, free: 5.742 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.519/1.519, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001398, allocations: 63.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8089/0.8103, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00573/0.8161, allocations: 4.422 MB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1732/0.9892, allocations: 150.6 MB / 1.24 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.9905, allocations: 15.78 kB / 1.24 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009789/0.9915, allocations: 176.2 kB / 1.24 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002577/0.9942, allocations: 0.5065 MB / 1.241 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.997, allocations: 0.8507 MB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.999, allocations: 1.335 MB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/1, allocations: 0.7112 MB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/1.002, allocations: 0.5054 MB / 1.244 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/1.003, allocations: 0.5292 MB / 1.245 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004208/1.003, allocations: 131.9 kB / 1.245 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/1.005, allocations: 0.4904 MB / 1.245 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005012/1.005, allocations: 322.9 kB / 1.245 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009477/1.006, allocations: 0.5868 MB / 1.246 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/1.009, allocations: 1.715 MB / 1.248 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.009, allocations: 4 kB / 1.248 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/1.009, allocations: 0 / 1.248 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.957e-05/1.009, allocations: 0 / 1.248 GB, free: 10.84 MB / 0.9825 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.003512/1.012, allocations: 1.481 MB / 1.249 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/1.012, allocations: 8.031 kB / 1.249 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/1.014, allocations: 303.2 kB / 1.249 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001523/1.016, allocations: 0.785 MB / 1.25 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/1.016, allocations: 77.98 kB / 1.25 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.016, allocations: 96 kB / 1.25 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/1.018, allocations: 1.066 MB / 1.251 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/1.018, allocations: 0 / 1.251 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/1.019, allocations: 44 kB / 1.251 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/1.019, allocations: 32 kB / 1.251 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/1.021, allocations: 1.264 MB / 1.253 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00498/1.026, allocations: 2.696 MB / 1.255 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002678/1.029, allocations: 1.013 MB / 1.256 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/1.03, allocations: 362.6 kB / 1.257 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.812e-05/1.03, allocations: 36.59 kB / 1.257 GB, free: 1.371 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/1.031, allocations: 0.549 MB / 1.257 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 4.278e-06/1.031, allocations: 0 / 1.257 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003941/1.035, allocations: 1.38 MB / 1.259 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.035, allocations: 192.9 kB / 1.259 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008676/1.036, allocations: 0.6371 MB / 1.259 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.539e-05/1.036, allocations: 45.7 kB / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/1.036, allocations: 428.2 kB / 1.26 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/1.037, allocations: 268.1 kB / 1.26 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/1.037, allocations: 170.5 kB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.037, allocations: 390.7 kB / 1.261 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/1.038, allocations: 321.8 kB / 1.261 GB, free: 12.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000841/1.039, allocations: 419 kB / 1.261 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/1.04, allocations: 0.7101 MB / 1.262 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.04, allocations: 3.938 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002429/1.043, allocations: 0.9697 MB / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.043, allocations: 4 kB / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/1.043, allocations: 3.938 kB / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005955/1.043, allocations: 84.86 kB / 1.263 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/1.044, allocations: 187.7 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002035/1.046, allocations: 1.631 MB / 1.265 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009845/1.047, allocations: 111.4 kB / 1.265 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.047, allocations: 39.97 kB / 1.265 GB, free: 8.566 MB / 0.9981 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.000521/1.048, allocations: 279.4 kB / 1.265 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/1.048, allocations: 82.97 kB / 1.265 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/1.051, allocations: 1.21 MB / 1.267 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.051, allocations: 8 kB / 1.267 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.051, allocations: 0 / 1.267 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/1.051, allocations: 7.984 kB / 1.267 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/1.055, allocations: 2.142 MB / 1.269 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.055, allocations: 0 / 1.269 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007448/1.056, allocations: 179.8 kB / 1.269 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004166/1.056, allocations: 68.78 kB / 1.269 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/1.056, allocations: 23.98 kB / 1.269 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001831/1.058, allocations: 1.666 MB / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.058, allocations: 0 / 1.27 GB, free: 2.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/1.06, allocations: 1.123 MB / 1.272 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/1.061, allocations: 275.7 kB / 1.272 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/1.061, allocations: 24 kB / 1.272 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/1.062, allocations: 83.91 kB / 1.272 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.062, allocations: 76.83 kB / 1.272 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/1.062, allocations: 31.98 kB / 1.272 GB, free: 1.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005673/1.063, allocations: 471 kB / 1.273 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.063, allocations: 0 / 1.273 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008839/1.063, allocations: 335 kB / 1.273 GB, free: 260 kB / 0.9981 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.001386/1.065, allocations: 0.6107 MB / 1.273 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.067, allocations: 0.9445 MB / 1.274 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.067, allocations: 0 / 1.274 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/1.068, allocations: 0.586 MB / 1.275 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/1.07, allocations: 302.8 kB / 1.275 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/1.074, allocations: 1.922 MB / 1.277 GB, free: 12.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/1.074, allocations: 1.047 MB / 1.278 GB, free: 10.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003782/1.075, allocations: 127.3 kB / 1.278 GB, free: 10.83 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.075, allocations: 0 / 1.278 GB, free: 10.83 MB / 1.014 GB Notification: Performance of Templates: time 0.02606/1.101, allocations: 19.61 MB / 1.297 GB, free: 7.27 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time