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.001351/0.001351, allocations: 106.1 kB / 16.41 MB, free: 6.457 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.001295/0.001295, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.08 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.2/2.2, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 71.89 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8855, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005845/0.8914, allocations: 4.415 MB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.191/1.082, allocations: 150.6 MB / 1.24 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.084, allocations: 15.34 kB / 1.24 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/1.085, allocations: 180.9 kB / 1.24 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002387/1.087, allocations: 0.5089 MB / 1.241 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/1.09, allocations: 0.8449 MB / 1.241 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001908/1.092, allocations: 1.342 MB / 1.243 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/1.093, allocations: 0.7084 MB / 1.243 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007975/1.093, allocations: 0.5091 MB / 1.244 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/1.094, allocations: 0.5251 MB / 1.244 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001661/1.094, allocations: 128.8 kB / 1.245 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/1.095, allocations: 0.4958 MB / 1.245 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/1.096, allocations: 327 kB / 1.245 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005254/1.096, allocations: 0.579 MB / 1.246 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/1.098, allocations: 1.711 MB / 1.248 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.098, allocations: 7.875 kB / 1.248 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.654e-06/1.098, allocations: 0 / 1.248 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.482e-05/1.098, allocations: 0 / 1.248 GB, free: 10.85 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.002637/1.101, allocations: 1.481 MB / 1.249 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.101, allocations: 12.03 kB / 1.249 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/1.103, allocations: 311.2 kB / 1.249 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/1.104, allocations: 0.785 MB / 1.25 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.94e-05/1.104, allocations: 70 kB / 1.25 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/1.104, allocations: 92 kB / 1.25 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/1.106, allocations: 1.077 MB / 1.251 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/1.106, allocations: 0 / 1.251 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.681e-05/1.106, allocations: 40 kB / 1.251 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.249e-05/1.106, allocations: 24 kB / 1.251 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002444/1.109, allocations: 1.268 MB / 1.253 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004653/1.114, allocations: 2.68 MB / 1.255 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/1.116, allocations: 1.028 MB / 1.256 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008049/1.117, allocations: 358.6 kB / 1.257 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.719e-05/1.117, allocations: 36.59 kB / 1.257 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/1.118, allocations: 0.5568 MB / 1.257 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.815e-06/1.118, allocations: 0 / 1.257 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.004046/1.122, allocations: 1.376 MB / 1.259 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.122, allocations: 200.9 kB / 1.259 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/1.123, allocations: 0.641 MB / 1.259 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.208e-05/1.123, allocations: 41.7 kB / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/1.124, allocations: 420.3 kB / 1.26 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/1.124, allocations: 276.1 kB / 1.26 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002689/1.124, allocations: 166.5 kB / 1.26 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.125, allocations: 386.8 kB / 1.261 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008235/1.125, allocations: 325.8 kB / 1.261 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009061/1.126, allocations: 419 kB / 1.261 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001619/1.128, allocations: 0.7101 MB / 1.262 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.128, allocations: 0 / 1.262 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002635/1.131, allocations: 0.9697 MB / 1.263 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.381e-05/1.131, allocations: 8 kB / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.131, allocations: 0 / 1.263 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/1.131, allocations: 84.81 kB / 1.263 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/1.132, allocations: 187.6 kB / 1.263 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/1.134, allocations: 1.626 MB / 1.265 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.135, allocations: 118 kB / 1.265 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/1.136, allocations: 35.97 kB / 1.265 GB, free: 8.578 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.0005474/1.136, allocations: 279.5 kB / 1.265 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/1.136, allocations: 86.97 kB / 1.265 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/1.139, allocations: 1.202 MB / 1.266 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/1.139, allocations: 16 kB / 1.267 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.139, allocations: 0 / 1.267 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/1.139, allocations: 3.984 kB / 1.267 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/1.144, allocations: 2.138 MB / 1.269 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.144, allocations: 0 / 1.269 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007675/1.144, allocations: 183.8 kB / 1.269 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/1.145, allocations: 72.8 kB / 1.269 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/1.145, allocations: 27.97 kB / 1.269 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/1.147, allocations: 1.662 MB / 1.27 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.147, allocations: 0 / 1.27 GB, free: 2.688 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/1.15, allocations: 1.115 MB / 1.272 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/1.15, allocations: 279.7 kB / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.15, allocations: 16 kB / 1.272 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008271/1.151, allocations: 87.84 kB / 1.272 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.152, allocations: 76.84 kB / 1.272 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.79e-05/1.152, allocations: 44.03 kB / 1.272 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006401/1.152, allocations: 463 kB / 1.273 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.152, allocations: 4 kB / 1.273 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009816/1.153, allocations: 335 kB / 1.273 GB, free: 268 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.001517/1.155, allocations: 0.6042 MB / 1.273 GB, free: 15.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002338/1.157, allocations: 0.9446 MB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.157, allocations: 0 / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/1.158, allocations: 0.5899 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.0014/1.16, allocations: 294 kB / 1.275 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/1.164, allocations: 1.927 MB / 1.277 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005986/1.165, allocations: 1.047 MB / 1.278 GB, free: 10.97 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/1.165, allocations: 131.3 kB / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.165, allocations: 0 / 1.278 GB, free: 10.84 MB / 1.014 GB Notification: Performance of Templates: time 0.02824/1.193, allocations: 19.6 MB / 1.297 GB, free: 7.277 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