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.001609/0.001609, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001758/0.001758, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.494/1.494, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 443.5 MB / 0.732 GB, free: 12.52 MB / 0.5919 GB " [Timeout remaining time 177] 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=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.001989/0.001989, allocations: 63.89 kB / 1.061 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7237, allocations: 160.7 MB / 1.218 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007694/0.7314, allocations: 5.227 MB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1872/0.9185, allocations: 151.3 MB / 1.371 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.9196, allocations: 19.88 kB / 1.371 GB, free: 10.44 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.9204, allocations: 202.1 kB / 1.371 GB, free: 10.24 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/0.9228, allocations: 0.5666 MB / 1.372 GB, free: 9.672 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/0.9252, allocations: 0.8808 MB / 1.373 GB, free: 8.797 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00202/0.9272, allocations: 1.46 MB / 1.374 GB, free: 7.328 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008699/0.9281, allocations: 477.5 kB / 1.375 GB, free: 6.836 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.9288, allocations: 0.5178 MB / 1.375 GB, free: 6.316 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007174/0.9295, allocations: 0.5601 MB / 1.376 GB, free: 5.754 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.9297, allocations: 128 kB / 1.376 GB, free: 5.629 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.9307, allocations: 495.6 kB / 1.376 GB, free: 5.145 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.9311, allocations: 319 kB / 1.376 GB, free: 4.832 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.9316, allocations: 0.6219 MB / 1.377 GB, free: 4.207 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.934, allocations: 1.751 MB / 1.379 GB, free: 2.449 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.934, allocations: 4 kB / 1.379 GB, free: 2.445 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.184e-06/0.934, allocations: 0 / 1.379 GB, free: 2.445 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.934, allocations: 0 / 1.379 GB, free: 2.445 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.003103/0.9371, allocations: 1.541 MB / 1.38 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9372, allocations: 8.031 kB / 1.38 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.939, allocations: 323.9 kB / 1.381 GB, free: 0.5273 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.9404, allocations: 0.7895 MB / 1.381 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.156e-05/0.9405, allocations: 70 kB / 1.381 GB, free: 15.63 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.9406, allocations: 92 kB / 1.382 GB, free: 15.54 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.9428, allocations: 1.07 MB / 1.383 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.9428, allocations: 3.938 kB / 1.383 GB, free: 14.43 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.9429, allocations: 44 kB / 1.383 GB, free: 14.38 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.9429, allocations: 28 kB / 1.383 GB, free: 14.36 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.9455, allocations: 1.268 MB / 1.384 GB, free: 13.09 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.005014/0.9505, allocations: 2.953 MB / 1.387 GB, free: 10 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.9533, allocations: 0.9772 MB / 1.388 GB, free: 9.008 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008394/0.9541, allocations: 350.6 kB / 1.388 GB, free: 8.66 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.827e-05/0.9542, allocations: 32.53 kB / 1.388 GB, free: 8.629 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.9555, allocations: 0.5589 MB / 1.389 GB, free: 8.055 MB / 1.092 GB Notification: Performance of pre-optimization done (n=84): time 2.335e-06/0.9555, allocations: 0 / 1.389 GB, free: 8.055 MB / 1.092 GB Notification: Performance of matching and sorting (n=84): time 0.004207/0.9597, allocations: 1.388 MB / 1.39 GB, free: 6.637 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.9598, allocations: 192.9 kB / 1.39 GB, free: 6.406 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.9606, allocations: 0.6449 MB / 1.391 GB, free: 5.758 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.017e-05/0.9607, allocations: 45.7 kB / 1.391 GB, free: 5.707 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.9611, allocations: 429 kB / 1.391 GB, free: 5.281 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.9613, allocations: 285.5 kB / 1.392 GB, free: 5 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/0.9616, allocations: 174.5 kB / 1.392 GB, free: 4.824 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.9618, allocations: 390.8 kB / 1.392 GB, free: 4.434 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000869/0.9627, allocations: 325.8 kB / 1.392 GB, free: 4.113 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000958/0.9637, allocations: 419.1 kB / 1.393 GB, free: 3.691 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.9654, allocations: 0.7101 MB / 1.393 GB, free: 2.969 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.9654, allocations: 0 / 1.393 GB, free: 2.969 MB / 1.092 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002635/0.968, allocations: 0.9779 MB / 1.394 GB, free: 1.984 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.968, allocations: 8 kB / 1.394 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.968, allocations: 0 / 1.394 GB, free: 1.977 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.9686, allocations: 84.86 kB / 1.395 GB, free: 1.891 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008759/0.9695, allocations: 187.7 kB / 1.395 GB, free: 1.707 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002337/0.9719, allocations: 1.626 MB / 1.396 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008816/0.9727, allocations: 123.5 kB / 1.396 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.532e-05/0.9728, allocations: 31.97 kB / 1.396 GB, free: 15.78 MB / 1.107 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.0004548/0.9733, allocations: 287.6 kB / 1.397 GB, free: 15.49 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.9735, allocations: 95.38 kB / 1.397 GB, free: 15.4 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.9766, allocations: 1.191 MB / 1.398 GB, free: 14.19 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.9766, allocations: 12 kB / 1.398 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.9766, allocations: 0 / 1.398 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.9766, allocations: 3.984 kB / 1.398 GB, free: 14.18 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004207/0.9808, allocations: 2.141 MB / 1.4 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.9808, allocations: 0 / 1.4 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008216/0.9817, allocations: 183.7 kB / 1.4 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006967/0.9824, allocations: 72.72 kB / 1.4 GB, free: 11.73 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.9825, allocations: 27.98 kB / 1.4 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.9856, allocations: 1.65 MB / 1.402 GB, free: 9.898 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9856, allocations: 0 / 1.402 GB, free: 9.898 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.9888, allocations: 1.131 MB / 1.403 GB, free: 8.75 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004583/0.9893, allocations: 280.1 kB / 1.403 GB, free: 8.457 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.9894, allocations: 27.94 kB / 1.403 GB, free: 8.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/0.9903, allocations: 85.94 kB / 1.403 GB, free: 8.348 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.9904, allocations: 72.89 kB / 1.404 GB, free: 8.273 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.853e-05/0.9905, allocations: 35.97 kB / 1.404 GB, free: 8.238 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0006374/0.9912, allocations: 467 kB / 1.404 GB, free: 7.785 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9912, allocations: 0 / 1.404 GB, free: 7.785 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009835/0.9921, allocations: 351.1 kB / 1.404 GB, free: 7.441 MB / 1.107 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.002005/0.9942, allocations: 0.6075 MB / 1.405 GB, free: 7.004 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.9967, allocations: 0.9211 MB / 1.406 GB, free: 6.074 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9967, allocations: 0 / 1.406 GB, free: 6.074 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001324/0.998, allocations: 0.547 MB / 1.406 GB, free: 5.516 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.9995, allocations: 311.1 kB / 1.407 GB, free: 5.234 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/1.003, allocations: 1.824 MB / 1.408 GB, free: 3.379 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007651/1.004, allocations: 1.047 MB / 1.409 GB, free: 2.305 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0009269/1.005, allocations: 282.8 kB / 1.41 GB, free: 2.023 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/1.005, allocations: 107.4 kB / 1.41 GB, free: 1.918 MB / 1.107 GB Notification: Performance of SimCode: time 9.62e-07/1.005, allocations: 0 / 1.41 GB, free: 1.918 MB / 1.107 GB Notification: Performance of Templates: time 0.02965/1.035, allocations: 16.41 MB / 1.426 GB, free: 1.648 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.336467906832695]