Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00115/0.00115, allocations: 102.8 kB / 16.27 MB, free: 6.418 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.001047/0.001047, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437 MB / 0.711 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 72.52 kB / 0.8699 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3082, allocations: 151.6 MB / 1.018 GB, free: 10.71 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007023/0.3153, allocations: 5.189 MB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6633/0.9786, allocations: 150.7 MB / 1.17 GB, free: 312 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008934/0.9796, allocations: 19.91 kB / 1.17 GB, free: 304 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.9803, allocations: 201.9 kB / 1.17 GB, free: 172 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002041/0.9825, allocations: 0.5609 MB / 1.171 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.9847, allocations: 0.863 MB / 1.172 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001881/0.9866, allocations: 1.442 MB / 1.173 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.9878, allocations: 0.6622 MB / 1.174 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.9887, allocations: 0.5185 MB / 1.174 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009294/0.9896, allocations: 0.5525 MB / 1.175 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003592/0.99, allocations: 127.4 kB / 1.175 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.9912, allocations: 471.4 kB / 1.175 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003911/0.9916, allocations: 317 kB / 1.176 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008505/0.9924, allocations: 0.6197 MB / 1.176 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002371/0.9948, allocations: 1.703 MB / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.9948, allocations: 0 / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9948, allocations: 0 / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.302e-05/0.9949, allocations: 1.125 kB / 1.178 GB, free: 11.9 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.003358/0.9983, allocations: 1.509 MB / 1.179 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9983, allocations: 9.625 kB / 1.179 GB, free: 10.72 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001885/1, allocations: 309.1 kB / 1.18 GB, free: 10.58 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.002, allocations: 0.768 MB / 1.181 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/1.002, allocations: 69.5 kB / 1.181 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/1.002, allocations: 97.47 kB / 1.181 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/1.004, allocations: 1.071 MB / 1.182 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/1.004, allocations: 0 / 1.182 GB, free: 9.223 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.004, allocations: 42.66 kB / 1.182 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/1.004, allocations: 23.06 kB / 1.182 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002474/1.006, allocations: 1.271 MB / 1.183 GB, free: 8.594 MB / 0.8887 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.004807/1.011, allocations: 2.982 MB / 1.186 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002665/1.014, allocations: 1.027 MB / 1.187 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008178/1.015, allocations: 365.5 kB / 1.187 GB, free: 5.516 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/1.015, allocations: 30.95 kB / 1.187 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/1.016, allocations: 0.5662 MB / 1.188 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=84): time 2.464e-06/1.016, allocations: 0 / 1.188 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of matching and sorting (n=84): time 0.004161/1.02, allocations: 1.385 MB / 1.189 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.631e-05/1.02, allocations: 199.2 kB / 1.189 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/1.021, allocations: 0.6405 MB / 1.19 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.048e-05/1.021, allocations: 43.02 kB / 1.19 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003395/1.022, allocations: 425.6 kB / 1.19 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/1.022, allocations: 266.4 kB / 1.191 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/1.022, allocations: 177.4 kB / 1.191 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.022, allocations: 384.8 kB / 1.191 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/1.023, allocations: 326 kB / 1.192 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/1.024, allocations: 418 kB / 1.192 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/1.026, allocations: 0.7178 MB / 1.193 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.026, allocations: 0 / 1.193 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002491/1.028, allocations: 0.9691 MB / 1.194 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.028, allocations: 5.875 kB / 1.194 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/1.028, allocations: 4.094 kB / 1.194 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/1.029, allocations: 77.75 kB / 1.194 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008261/1.03, allocations: 194 kB / 1.194 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.032, allocations: 1.632 MB / 1.195 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/1.033, allocations: 118.9 kB / 1.196 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.821e-05/1.033, allocations: 40.38 kB / 1.196 GB, free: 15.65 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.0005072/1.033, allocations: 271.7 kB / 1.196 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/1.034, allocations: 83.16 kB / 1.196 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/1.037, allocations: 1.209 MB / 1.197 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/1.037, allocations: 10.31 kB / 1.197 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/1.037, allocations: 4 kB / 1.197 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.037, allocations: 11.97 kB / 1.197 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/1.04, allocations: 2.136 MB / 1.199 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.04, allocations: 0 / 1.199 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/1.041, allocations: 170.7 kB / 1.199 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/1.042, allocations: 74.78 kB / 1.2 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/1.042, allocations: 33.73 kB / 1.2 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/1.044, allocations: 1.665 MB / 1.201 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.044, allocations: 4.062 kB / 1.201 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/1.046, allocations: 1.113 MB / 1.202 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/1.047, allocations: 276 kB / 1.203 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.047, allocations: 23.55 kB / 1.203 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008483/1.048, allocations: 85.59 kB / 1.203 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/1.048, allocations: 72.17 kB / 1.203 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/1.048, allocations: 42.12 kB / 1.203 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005607/1.048, allocations: 467 kB / 1.203 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.5e-07/1.049, allocations: 4 kB / 1.203 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009802/1.049, allocations: 349.1 kB / 1.204 GB, free: 10.28 MB / 0.9044 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.001393/1.051, allocations: 0.5972 MB / 1.204 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003111/1.054, allocations: 1.166 MB / 1.205 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/1.054, allocations: 0 / 1.205 GB, free: 9.113 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.055, allocations: 0.5782 MB / 1.206 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/1.057, allocations: 305.2 kB / 1.206 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/1.06, allocations: 1.861 MB / 1.208 GB, free: 6.355 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/1.061, allocations: 1.043 MB / 1.209 GB, free: 5.281 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003611/1.061, allocations: 127.4 kB / 1.209 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/1.061, allocations: 3.938 kB / 1.209 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of Templates: time 0.02483/1.086, allocations: 19.71 MB / 1.228 GB, free: 1.492 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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