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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 188.8 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.574/2.574, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 63.89 kB / 1.061 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8037/0.8058, allocations: 160.8 MB / 1.218 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008011/0.8138, allocations: 5.238 MB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.187/1.001, allocations: 151.3 MB / 1.371 GB, free: 10.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/1.002, allocations: 23.81 kB / 1.371 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/1.004, allocations: 206.1 kB / 1.372 GB, free: 9.941 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002885/1.006, allocations: 0.5745 MB / 1.372 GB, free: 9.367 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/1.009, allocations: 0.8805 MB / 1.373 GB, free: 8.492 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002333/1.012, allocations: 1.456 MB / 1.374 GB, free: 7.027 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/1.013, allocations: 478.3 kB / 1.375 GB, free: 6.535 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/1.014, allocations: 0.5412 MB / 1.375 GB, free: 5.992 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/1.015, allocations: 0.5484 MB / 1.376 GB, free: 5.441 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003885/1.015, allocations: 128 kB / 1.376 GB, free: 5.316 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/1.017, allocations: 0.4918 MB / 1.376 GB, free: 4.824 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000488/1.017, allocations: 323 kB / 1.377 GB, free: 4.508 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009129/1.018, allocations: 0.6063 MB / 1.377 GB, free: 3.898 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002823/1.021, allocations: 1.766 MB / 1.379 GB, free: 2.129 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.021, allocations: 0 / 1.379 GB, free: 2.129 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.313e-06/1.021, allocations: 0 / 1.379 GB, free: 2.129 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.276e-05/1.021, allocations: 0 / 1.379 GB, free: 2.129 MB / 1.076 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.003522/1.024, allocations: 1.549 MB / 1.381 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.025, allocations: 12.03 kB / 1.381 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/1.026, allocations: 311.9 kB / 1.381 GB, free: 220 kB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/1.028, allocations: 0.7895 MB / 1.382 GB, free: 15.38 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/1.028, allocations: 77.98 kB / 1.382 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/1.028, allocations: 96 kB / 1.382 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.03, allocations: 1.066 MB / 1.383 GB, free: 14.11 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/1.03, allocations: 0 / 1.383 GB, free: 14.11 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.031, allocations: 44 kB / 1.383 GB, free: 14.06 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/1.031, allocations: 24 kB / 1.383 GB, free: 14.04 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/1.033, allocations: 1.268 MB / 1.384 GB, free: 12.77 MB / 1.092 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.005577/1.039, allocations: 2.959 MB / 1.387 GB, free: 9.676 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/1.041, allocations: 0.9919 MB / 1.388 GB, free: 8.668 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008573/1.042, allocations: 334.6 kB / 1.388 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.502e-05/1.042, allocations: 36.59 kB / 1.388 GB, free: 8.305 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/1.044, allocations: 0.5529 MB / 1.389 GB, free: 7.734 MB / 1.092 GB Notification: Performance of pre-optimization done (n=84): time 3.267e-06/1.044, allocations: 0 / 1.389 GB, free: 7.734 MB / 1.092 GB Notification: Performance of matching and sorting (n=84): time 0.004155/1.048, allocations: 1.388 MB / 1.39 GB, free: 6.32 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.048, allocations: 192.9 kB / 1.39 GB, free: 6.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.049, allocations: 0.6449 MB / 1.391 GB, free: 5.441 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/1.049, allocations: 41.7 kB / 1.391 GB, free: 5.395 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/1.05, allocations: 433.1 kB / 1.392 GB, free: 4.965 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/1.05, allocations: 289.5 kB / 1.392 GB, free: 4.68 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/1.05, allocations: 170.6 kB / 1.392 GB, free: 4.508 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002317/1.05, allocations: 382.8 kB / 1.392 GB, free: 4.125 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008413/1.051, allocations: 325.8 kB / 1.393 GB, free: 3.805 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009138/1.052, allocations: 427 kB / 1.393 GB, free: 3.371 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/1.054, allocations: 0.7062 MB / 1.394 GB, free: 2.652 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/1.054, allocations: 0 / 1.394 GB, free: 2.652 MB / 1.092 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002608/1.056, allocations: 0.9779 MB / 1.395 GB, free: 1.668 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/1.056, allocations: 4 kB / 1.395 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.056, allocations: 0 / 1.395 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/1.057, allocations: 88.84 kB / 1.395 GB, free: 1.574 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/1.058, allocations: 187.7 kB / 1.395 GB, free: 1.391 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/1.06, allocations: 1.638 MB / 1.397 GB, free: 15.6 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009496/1.061, allocations: 115.5 kB / 1.397 GB, free: 15.48 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/1.062, allocations: 35.97 kB / 1.397 GB, free: 15.45 MB / 1.108 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.0007486/1.062, allocations: 279.5 kB / 1.397 GB, free: 15.17 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003156/1.063, allocations: 91.44 kB / 1.397 GB, free: 15.08 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/1.066, allocations: 1.202 MB / 1.398 GB, free: 13.86 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/1.066, allocations: 15.94 kB / 1.398 GB, free: 13.84 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.066, allocations: 0 / 1.398 GB, free: 13.84 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.066, allocations: 7.984 kB / 1.398 GB, free: 13.84 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/1.07, allocations: 2.137 MB / 1.4 GB, free: 11.64 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.07, allocations: 0 / 1.4 GB, free: 11.64 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/1.071, allocations: 171.8 kB / 1.401 GB, free: 11.47 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/1.072, allocations: 76.78 kB / 1.401 GB, free: 11.39 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/1.072, allocations: 23.98 kB / 1.401 GB, free: 11.37 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/1.074, allocations: 1.667 MB / 1.402 GB, free: 9.555 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.074, allocations: 0 / 1.402 GB, free: 9.555 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/1.077, allocations: 1.127 MB / 1.403 GB, free: 8.414 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/1.077, allocations: 280.2 kB / 1.404 GB, free: 8.121 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/1.077, allocations: 20 kB / 1.404 GB, free: 8.102 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008622/1.078, allocations: 83.91 kB / 1.404 GB, free: 8.02 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.078, allocations: 80.8 kB / 1.404 GB, free: 7.938 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.078, allocations: 35.97 kB / 1.404 GB, free: 7.902 MB / 1.108 GB Notification: Performance of sorting global known variables: time 0.0007398/1.079, allocations: 471 kB / 1.404 GB, free: 7.445 MB / 1.108 GB Notification: Performance of sort global known variables: time 1.21e-07/1.079, allocations: 0 / 1.404 GB, free: 7.445 MB / 1.108 GB Notification: Performance of remove unused functions: time 0.001128/1.08, allocations: 359 kB / 1.405 GB, free: 7.094 MB / 1.108 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.002227/1.083, allocations: 0.6037 MB / 1.405 GB, free: 6.66 MB / 1.108 GB Notification: Performance of simCode: created initialization part: time 0.002443/1.085, allocations: 0.9172 MB / 1.406 GB, free: 5.73 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/1.085, allocations: 0 / 1.406 GB, free: 5.73 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/1.086, allocations: 0.547 MB / 1.407 GB, free: 5.172 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.088, allocations: 317.8 kB / 1.407 GB, free: 4.883 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003836/1.092, allocations: 1.819 MB / 1.409 GB, free: 3.035 MB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008045/1.092, allocations: 1.044 MB / 1.41 GB, free: 1.961 MB / 1.108 GB Notification: Performance of simCode: alias equations: time 0.0009822/1.093, allocations: 278.9 kB / 1.41 GB, free: 1.684 MB / 1.108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/1.094, allocations: 111.3 kB / 1.41 GB, free: 1.578 MB / 1.108 GB Notification: Performance of SimCode: time 9.22e-07/1.094, allocations: 0 / 1.41 GB, free: 1.578 MB / 1.108 GB Notification: Performance of Templates: time 0.03197/1.126, allocations: 16.62 MB / 1.426 GB, free: 1.086 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.662232716567814]