Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 79.81 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 157.5 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.663/2.663, allocations: 359.1 MB / 0.6044 GB, free: 14.85 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 59.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.311, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007508/0.3185, allocations: 4.687 MB / 1.122 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7227/1.041, allocations: 132.7 MB / 1.252 GB, free: 3.062 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/1.042, allocations: 22.94 kB / 1.252 GB, free: 3.051 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0008035/1.043, allocations: 204.6 kB / 1.252 GB, free: 2.914 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001876/1.045, allocations: 0.5789 MB / 1.252 GB, free: 2.578 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/1.047, allocations: 0.884 MB / 1.253 GB, free: 2.117 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001994/1.049, allocations: 1.481 MB / 1.255 GB, free: 1.344 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009212/1.05, allocations: 460.1 kB / 1.255 GB, free: 1.074 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/1.051, allocations: 0.5437 MB / 1.256 GB, free: 0.8086 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/1.052, allocations: 0.5019 MB / 1.256 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002277/1.052, allocations: 129.6 kB / 1.256 GB, free: 0.5703 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/1.054, allocations: 0.4972 MB / 1.257 GB, free: 468 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003992/1.054, allocations: 323 kB / 1.257 GB, free: 256 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/1.055, allocations: 0.5067 MB / 1.258 GB, free: 15.95 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/1.057, allocations: 1.814 MB / 1.259 GB, free: 15.18 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.057, allocations: 0.5156 kB / 1.259 GB, free: 15.18 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.034e-06/1.057, allocations: 0 / 1.259 GB, free: 15.18 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.419e-05/1.057, allocations: 1.562 kB / 1.259 GB, free: 15.18 MB / 1.123 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.003655/1.061, allocations: 1.496 MB / 1.261 GB, free: 14.22 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/1.061, allocations: 9.406 kB / 1.261 GB, free: 14.22 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/1.064, allocations: 371.8 kB / 1.261 GB, free: 14.13 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/1.065, allocations: 0.7398 MB / 1.262 GB, free: 13.67 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.701e-05/1.065, allocations: 70.17 kB / 1.262 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/1.065, allocations: 97.02 kB / 1.262 GB, free: 13.61 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/1.068, allocations: 1.319 MB / 1.263 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/1.068, allocations: 0 / 1.263 GB, free: 12.84 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/1.068, allocations: 43.08 kB / 1.263 GB, free: 12.81 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/1.068, allocations: 22.94 kB / 1.263 GB, free: 12.81 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/1.071, allocations: 1.231 MB / 1.265 GB, free: 12.51 MB / 1.123 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.005074/1.076, allocations: 2.251 MB / 1.267 GB, free: 11.26 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002825/1.079, allocations: 0.9094 MB / 1.268 GB, free: 10.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008425/1.079, allocations: 333 kB / 1.268 GB, free: 10.82 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.06e-05/1.08, allocations: 30.39 kB / 1.268 GB, free: 10.81 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/1.081, allocations: 0.6565 MB / 1.269 GB, free: 10.47 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 2.454e-06/1.081, allocations: 4 kB / 1.269 GB, free: 10.46 MB / 1.123 GB Notification: Performance of matching and sorting (n=84): time 0.004386/1.085, allocations: 1.308 MB / 1.27 GB, free: 10.01 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.085, allocations: 195 kB / 1.27 GB, free: 9.789 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/1.086, allocations: 0.5998 MB / 1.271 GB, free: 9.512 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.37e-05/1.086, allocations: 42.64 kB / 1.271 GB, free: 9.469 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/1.087, allocations: 442.2 kB / 1.271 GB, free: 9.129 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/1.087, allocations: 287.3 kB / 1.271 GB, free: 8.902 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002957/1.087, allocations: 168.5 kB / 1.272 GB, free: 8.828 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002593/1.088, allocations: 383.9 kB / 1.272 GB, free: 8.484 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/1.089, allocations: 326.2 kB / 1.272 GB, free: 8.379 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/1.09, allocations: 0.5385 MB / 1.273 GB, free: 8.055 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/1.091, allocations: 0.7149 MB / 1.274 GB, free: 7.746 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.091, allocations: 1.156 kB / 1.274 GB, free: 7.746 MB / 1.123 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00273/1.094, allocations: 0.9602 MB / 1.274 GB, free: 7.391 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.094, allocations: 12.28 kB / 1.274 GB, free: 7.387 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.094, allocations: 4.359 kB / 1.275 GB, free: 7.387 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/1.095, allocations: 88.05 kB / 1.275 GB, free: 7.363 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000889/1.096, allocations: 190.8 kB / 1.275 GB, free: 7.344 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/1.098, allocations: 1.494 MB / 1.276 GB, free: 5.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009509/1.099, allocations: 109 kB / 1.276 GB, free: 5.934 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/1.099, allocations: 39.42 kB / 1.276 GB, free: 5.926 MB / 1.123 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.0005426/1.1, allocations: 275.9 kB / 1.277 GB, free: 5.723 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.1, allocations: 90.08 kB / 1.277 GB, free: 5.672 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/1.103, allocations: 1.194 MB / 1.278 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/1.103, allocations: 12.94 kB / 1.278 GB, free: 5.223 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/1.103, allocations: 2.625 kB / 1.278 GB, free: 5.223 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.558e-05/1.103, allocations: 4.828 kB / 1.278 GB, free: 5.223 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004621/1.108, allocations: 1.874 MB / 1.28 GB, free: 4.359 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.108, allocations: 9.328 kB / 1.28 GB, free: 4.352 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008013/1.109, allocations: 169.2 kB / 1.28 GB, free: 4.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/1.109, allocations: 77.19 kB / 1.28 GB, free: 4.316 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.935e-05/1.109, allocations: 27.3 kB / 1.28 GB, free: 4.305 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/1.111, allocations: 1.531 MB / 1.281 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.111, allocations: 0 / 1.281 GB, free: 2.918 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002939/1.114, allocations: 1.123 MB / 1.283 GB, free: 2.43 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/1.115, allocations: 196.7 kB / 1.283 GB, free: 2.324 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/1.115, allocations: 22.47 kB / 1.283 GB, free: 2.309 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009041/1.116, allocations: 85.92 kB / 1.283 GB, free: 2.293 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.116, allocations: 74.28 kB / 1.283 GB, free: 2.281 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.641e-05/1.116, allocations: 38.2 kB / 1.283 GB, free: 2.273 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007566/1.117, allocations: 440.5 kB / 1.283 GB, free: 2.078 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.117, allocations: 0 / 1.283 GB, free: 2.078 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001232/1.118, allocations: 362.4 kB / 1.284 GB, free: 1.973 MB / 1.123 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.002283/1.12, allocations: 0.641 MB / 1.284 GB, free: 1.723 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002643/1.123, allocations: 0.9098 MB / 1.285 GB, free: 1.379 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.123, allocations: 3.938 kB / 1.285 GB, free: 1.375 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/1.124, allocations: 0.554 MB / 1.286 GB, free: 1.125 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/1.126, allocations: 299.4 kB / 1.286 GB, free: 1.027 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/1.13, allocations: 1.832 MB / 1.288 GB, free: 92 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006953/1.131, allocations: 469.3 kB / 1.288 GB, free: 15.95 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0009958/1.132, allocations: 278 kB / 1.289 GB, free: 15.86 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/1.132, allocations: 110.3 kB / 1.289 GB, free: 15.84 MB / 1.139 GB Notification: Performance of SimCode: time 8.11e-07/1.132, allocations: 0 / 1.289 GB, free: 15.84 MB / 1.139 GB Notification: Performance of Templates: time 0.0292/1.161, allocations: 15.87 MB / 1.304 GB, free: 8.812 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.20294928504154]