Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001142/0.001142, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001162/0.001162, allocations: 187 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 67.88 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193/1.194, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007865/1.202, allocations: 5.168 MB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1739/1.376, allocations: 150.7 MB / 1.361 GB, free: 1.152 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/1.377, allocations: 19.88 kB / 1.361 GB, free: 1.133 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009597/1.378, allocations: 206.1 kB / 1.361 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003002/1.381, allocations: 0.5746 MB / 1.361 GB, free: 364 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/1.384, allocations: 0.8483 MB / 1.362 GB, free: 15.51 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002248/1.386, allocations: 1.471 MB / 1.364 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/1.388, allocations: 0.6537 MB / 1.364 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/1.389, allocations: 0.5217 MB / 1.365 GB, free: 12.84 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009956/1.39, allocations: 0.5562 MB / 1.365 GB, free: 12.28 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003599/1.39, allocations: 128 kB / 1.365 GB, free: 12.15 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/1.391, allocations: 495.6 kB / 1.366 GB, free: 11.67 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004326/1.392, allocations: 326.9 kB / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009215/1.393, allocations: 0.6102 MB / 1.367 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002878/1.396, allocations: 1.75 MB / 1.369 GB, free: 8.98 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/1.396, allocations: 0 / 1.369 GB, free: 8.98 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.805e-06/1.396, allocations: 0 / 1.369 GB, free: 8.98 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.155e-05/1.396, allocations: 0 / 1.369 GB, free: 8.98 MB / 1.092 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.004412/1.4, allocations: 1.512 MB / 1.37 GB, free: 7.41 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.392e-05/1.4, allocations: 12.03 kB / 1.37 GB, free: 7.398 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/1.402, allocations: 299.2 kB / 1.37 GB, free: 7.105 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/1.404, allocations: 0.7889 MB / 1.371 GB, free: 6.273 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.539e-05/1.404, allocations: 74 kB / 1.371 GB, free: 6.199 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/1.404, allocations: 96 kB / 1.371 GB, free: 6.105 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/1.406, allocations: 1.066 MB / 1.372 GB, free: 5.004 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/1.406, allocations: 0 / 1.372 GB, free: 5.004 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/1.406, allocations: 44 kB / 1.372 GB, free: 4.961 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/1.406, allocations: 27.94 kB / 1.372 GB, free: 4.934 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/1.408, allocations: 1.264 MB / 1.374 GB, free: 3.668 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.004687/1.413, allocations: 2.956 MB / 1.376 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/1.416, allocations: 1.024 MB / 1.377 GB, free: 15.54 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007641/1.416, allocations: 370.6 kB / 1.378 GB, free: 15.18 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.374e-05/1.417, allocations: 36.53 kB / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001135/1.418, allocations: 0.5567 MB / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 4.368e-06/1.418, allocations: 0 / 1.378 GB, free: 14.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003984/1.422, allocations: 1.391 MB / 1.38 GB, free: 13.15 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.422, allocations: 188.9 kB / 1.38 GB, free: 12.92 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/1.423, allocations: 0.6372 MB / 1.381 GB, free: 12.27 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 8.865e-05/1.423, allocations: 41.7 kB / 1.381 GB, free: 12.23 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/1.423, allocations: 432.2 kB / 1.381 GB, free: 11.8 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/1.424, allocations: 272.1 kB / 1.381 GB, free: 11.53 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/1.424, allocations: 170.5 kB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001874/1.424, allocations: 386.8 kB / 1.382 GB, free: 10.97 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/1.425, allocations: 325.8 kB / 1.382 GB, free: 10.65 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008838/1.426, allocations: 423 kB / 1.383 GB, free: 10.22 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/1.427, allocations: 0.714 MB / 1.383 GB, free: 9.5 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.427, allocations: 0 / 1.383 GB, free: 9.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002569/1.43, allocations: 0.9659 MB / 1.384 GB, free: 8.523 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.43, allocations: 8 kB / 1.384 GB, free: 8.516 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.43, allocations: 4 kB / 1.384 GB, free: 8.512 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/1.431, allocations: 84.77 kB / 1.384 GB, free: 8.426 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/1.431, allocations: 187.7 kB / 1.384 GB, free: 8.242 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002292/1.434, allocations: 1.637 MB / 1.386 GB, free: 6.465 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/1.435, allocations: 111.3 kB / 1.386 GB, free: 6.355 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/1.435, allocations: 39.97 kB / 1.386 GB, free: 6.316 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.0005922/1.436, allocations: 275.4 kB / 1.386 GB, free: 6.035 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/1.436, allocations: 82.97 kB / 1.387 GB, free: 5.953 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/1.439, allocations: 1.198 MB / 1.388 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/1.439, allocations: 16 kB / 1.388 GB, free: 4.719 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/1.439, allocations: 0 / 1.388 GB, free: 4.719 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.439, allocations: 3.984 kB / 1.388 GB, free: 4.715 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/1.443, allocations: 2.144 MB / 1.39 GB, free: 2.504 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.443, allocations: 3.938 kB / 1.39 GB, free: 2.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007591/1.444, allocations: 179.7 kB / 1.39 GB, free: 2.324 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/1.444, allocations: 80.72 kB / 1.39 GB, free: 2.242 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.256e-05/1.444, allocations: 23.98 kB / 1.39 GB, free: 2.219 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/1.446, allocations: 1.658 MB / 1.392 GB, free: 428 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/1.446, allocations: 0 / 1.392 GB, free: 428 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/1.449, allocations: 1.119 MB / 1.393 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005946/1.45, allocations: 279.7 kB / 1.393 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.45, allocations: 19.94 kB / 1.393 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/1.451, allocations: 87.91 kB / 1.393 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.451, allocations: 72.84 kB / 1.393 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/1.451, allocations: 39.97 kB / 1.393 GB, free: 14.77 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007413/1.452, allocations: 463 kB / 1.394 GB, free: 14.32 MB / 1.123 GB Notification: Performance of sort global known variables: time 4.41e-07/1.452, allocations: 4 kB / 1.394 GB, free: 14.32 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001137/1.453, allocations: 343.1 kB / 1.394 GB, free: 13.98 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.001544/1.455, allocations: 0.6077 MB / 1.395 GB, free: 13.55 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002364/1.457, allocations: 0.9524 MB / 1.396 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.457, allocations: 0 / 1.396 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00121/1.458, allocations: 0.5783 MB / 1.396 GB, free: 12 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/1.46, allocations: 298.2 kB / 1.396 GB, free: 11.72 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/1.464, allocations: 1.834 MB / 1.398 GB, free: 9.863 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007787/1.464, allocations: 1.044 MB / 1.399 GB, free: 8.785 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/1.465, allocations: 127.4 kB / 1.399 GB, free: 8.664 MB / 1.123 GB Notification: Performance of SimCode: time 7.11e-07/1.465, allocations: 4 kB / 1.399 GB, free: 8.66 MB / 1.123 GB Notification: Performance of Templates: time 0.03069/1.496, allocations: 19.84 MB / 1.419 GB, free: 4.898 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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