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.001192/0.001192, allocations: 106 kB / 16.41 MB, free: 6.516 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.001144/0.001144, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.183/1.183, allocations: 222.9 MB / 241 MB, free: 15.14 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.134/2.134, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 72.09 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6727, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005678/0.6784, allocations: 5.183 MB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1384/0.8168, allocations: 150.7 MB / 1.32 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008056/0.8176, allocations: 19.88 kB / 1.32 GB, free: 7.324 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006803/0.8183, allocations: 194.1 kB / 1.32 GB, free: 7.133 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001784/0.8202, allocations: 0.5713 MB / 1.32 GB, free: 6.562 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.8221, allocations: 0.8575 MB / 1.321 GB, free: 5.711 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.8236, allocations: 1.46 MB / 1.323 GB, free: 4.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.8244, allocations: 0.6649 MB / 1.323 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000519/0.8249, allocations: 0.5217 MB / 1.324 GB, free: 3.035 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005129/0.8254, allocations: 0.5562 MB / 1.324 GB, free: 2.477 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.8256, allocations: 128 kB / 1.324 GB, free: 2.352 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007149/0.8263, allocations: 495.6 kB / 1.325 GB, free: 1.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.8265, allocations: 323 kB / 1.325 GB, free: 1.551 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004417/0.827, allocations: 0.6141 MB / 1.326 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.8285, allocations: 1.752 MB / 1.327 GB, free: 15.18 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8286, allocations: 4 kB / 1.327 GB, free: 15.17 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8286, allocations: 3.938 kB / 1.327 GB, free: 15.17 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.593e-05/0.8286, allocations: 0 / 1.327 GB, free: 15.17 MB / 1.061 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.002193/0.8308, allocations: 1.545 MB / 1.329 GB, free: 13.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.8308, allocations: 8.031 kB / 1.329 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/0.8323, allocations: 315.8 kB / 1.329 GB, free: 13.25 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009905/0.8333, allocations: 0.7895 MB / 1.33 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.8334, allocations: 77.98 kB / 1.33 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.8335, allocations: 91.98 kB / 1.33 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.8352, allocations: 1.07 MB / 1.331 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.8352, allocations: 3.938 kB / 1.331 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.181e-05/0.8353, allocations: 40 kB / 1.331 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.8353, allocations: 24 kB / 1.331 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.8374, allocations: 1.276 MB / 1.333 GB, free: 9.805 MB / 1.061 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.003857/0.8413, allocations: 2.948 MB / 1.335 GB, free: 6.727 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.8436, allocations: 1.036 MB / 1.336 GB, free: 5.672 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/0.8443, allocations: 362.6 kB / 1.337 GB, free: 5.312 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.436e-05/0.8444, allocations: 40.59 kB / 1.337 GB, free: 5.273 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009549/0.8453, allocations: 0.5568 MB / 1.337 GB, free: 4.703 MB / 1.061 GB Notification: Performance of pre-optimization done (n=84): time 1.923e-06/0.8453, allocations: 0 / 1.337 GB, free: 4.703 MB / 1.061 GB Notification: Performance of matching and sorting (n=84): time 0.003492/0.8488, allocations: 1.392 MB / 1.339 GB, free: 3.285 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.777e-05/0.8489, allocations: 188.9 kB / 1.339 GB, free: 3.055 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006609/0.8496, allocations: 0.641 MB / 1.34 GB, free: 2.406 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.8497, allocations: 45.7 kB / 1.34 GB, free: 2.355 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.8499, allocations: 429.1 kB / 1.34 GB, free: 1.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.8501, allocations: 293.5 kB / 1.34 GB, free: 1.641 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.8503, allocations: 170.6 kB / 1.34 GB, free: 1.469 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.8505, allocations: 386.8 kB / 1.341 GB, free: 1.082 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.8512, allocations: 325.8 kB / 1.341 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007611/0.8519, allocations: 423 kB / 1.342 GB, free: 344 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.8534, allocations: 0.7062 MB / 1.342 GB, free: 15.62 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8534, allocations: 4 kB / 1.342 GB, free: 15.62 MB / 1.076 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002122/0.8555, allocations: 0.9701 MB / 1.343 GB, free: 14.64 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.8555, allocations: 8 kB / 1.343 GB, free: 14.63 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8555, allocations: 4.094 kB / 1.343 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.8561, allocations: 84.7 kB / 1.343 GB, free: 14.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/0.8568, allocations: 191.7 kB / 1.343 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001971/0.8588, allocations: 1.635 MB / 1.345 GB, free: 12.57 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/0.8596, allocations: 117.4 kB / 1.345 GB, free: 12.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/0.8597, allocations: 39.97 kB / 1.345 GB, free: 12.42 MB / 1.076 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.0003422/0.86, allocations: 275.4 kB / 1.345 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.8601, allocations: 87.44 kB / 1.346 GB, free: 12.05 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002637/0.8628, allocations: 1.206 MB / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8628, allocations: 11.94 kB / 1.347 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.8628, allocations: 0 / 1.347 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.8628, allocations: 3.984 kB / 1.347 GB, free: 10.81 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/0.8661, allocations: 2.149 MB / 1.349 GB, free: 8.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.8661, allocations: 0 / 1.349 GB, free: 8.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006852/0.8668, allocations: 171.8 kB / 1.349 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003933/0.8672, allocations: 72.78 kB / 1.349 GB, free: 8.363 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.924e-05/0.8673, allocations: 27.98 kB / 1.349 GB, free: 8.336 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.8689, allocations: 1.666 MB / 1.351 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.869, allocations: 0 / 1.351 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.8712, allocations: 1.119 MB / 1.352 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.8715, allocations: 284.2 kB / 1.352 GB, free: 5.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.8716, allocations: 24 kB / 1.352 GB, free: 5.066 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/0.8724, allocations: 79.91 kB / 1.352 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.8725, allocations: 76.84 kB / 1.352 GB, free: 4.914 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.07e-05/0.8726, allocations: 35.97 kB / 1.352 GB, free: 4.879 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005016/0.8731, allocations: 467 kB / 1.353 GB, free: 4.426 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8731, allocations: 0 / 1.353 GB, free: 4.426 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008101/0.8739, allocations: 359 kB / 1.353 GB, free: 4.074 MB / 1.076 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.001207/0.8751, allocations: 0.6111 MB / 1.354 GB, free: 3.629 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.8771, allocations: 0.9524 MB / 1.355 GB, free: 2.664 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.8771, allocations: 11.92 kB / 1.355 GB, free: 2.652 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.8781, allocations: 0.5783 MB / 1.355 GB, free: 2.062 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.8792, allocations: 300 kB / 1.355 GB, free: 1.789 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.8819, allocations: 1.86 MB / 1.357 GB, free: 15.9 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.8824, allocations: 1.047 MB / 1.358 GB, free: 14.82 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.8827, allocations: 119.4 kB / 1.358 GB, free: 14.7 MB / 1.092 GB Notification: Performance of SimCode: time 2.2e-07/0.8827, allocations: 0 / 1.358 GB, free: 14.7 MB / 1.092 GB Notification: Performance of Templates: time 0.02056/0.9033, allocations: 19.84 MB / 1.378 GB, free: 10.88 MB / 1.107 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