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.008905/0.008905, allocations: 100.8 kB / 15.73 MB, free: 6.039 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.002143/0.002143, allocations: 202 kB / 16.68 MB, free: 5.965 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.684/2.684, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 59.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.336, allocations: 151.6 MB / 1.167 GB, free: 6.848 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006846/0.3429, allocations: 5.185 MB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.9297/1.273, allocations: 150.7 MB / 1.319 GB, free: 10.08 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/1.274, allocations: 20.12 kB / 1.319 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009555/1.275, allocations: 202.5 kB / 1.319 GB, free: 9.965 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/1.277, allocations: 0.568 MB / 1.32 GB, free: 9.707 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/1.28, allocations: 0.8609 MB / 1.32 GB, free: 9.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002355/1.282, allocations: 1.464 MB / 1.322 GB, free: 9.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/1.284, allocations: 0.6526 MB / 1.322 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/1.285, allocations: 0.5251 MB / 1.323 GB, free: 8.984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/1.286, allocations: 0.5498 MB / 1.324 GB, free: 8.844 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004681/1.287, allocations: 128.2 kB / 1.324 GB, free: 8.844 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/1.288, allocations: 0.4959 MB / 1.324 GB, free: 8.805 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005378/1.289, allocations: 315.9 kB / 1.324 GB, free: 8.645 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.29, allocations: 0.6074 MB / 1.325 GB, free: 8.242 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003797/1.294, allocations: 1.762 MB / 1.327 GB, free: 7.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.294, allocations: 0 / 1.327 GB, free: 7.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.046e-06/1.294, allocations: 0 / 1.327 GB, free: 7.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001041/1.294, allocations: 1.375 kB / 1.327 GB, free: 7.492 MB / 1.014 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.005733/1.3, allocations: 1.546 MB / 1.328 GB, free: 6.445 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.3, allocations: 14 kB / 1.328 GB, free: 6.441 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/1.302, allocations: 311.1 kB / 1.329 GB, free: 6.363 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/1.304, allocations: 0.7965 MB / 1.329 GB, free: 5.844 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/1.304, allocations: 69.09 kB / 1.329 GB, free: 5.816 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/1.305, allocations: 94.38 kB / 1.329 GB, free: 5.785 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/1.307, allocations: 1.075 MB / 1.331 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/1.307, allocations: 0 / 1.331 GB, free: 5.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.307, allocations: 42.66 kB / 1.331 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/1.307, allocations: 23.25 kB / 1.331 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00284/1.31, allocations: 1.273 MB / 1.332 GB, free: 5 MB / 1.014 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.005288/1.315, allocations: 2.96 MB / 1.335 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002739/1.318, allocations: 1.032 MB / 1.336 GB, free: 2.816 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008177/1.319, allocations: 362.7 kB / 1.336 GB, free: 2.688 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.07e-05/1.319, allocations: 34.88 kB / 1.336 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001224/1.32, allocations: 0.5522 MB / 1.337 GB, free: 2.465 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 3.527e-06/1.32, allocations: 4 kB / 1.337 GB, free: 2.461 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004168/1.325, allocations: 1.392 MB / 1.338 GB, free: 1.91 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/1.325, allocations: 191.5 kB / 1.338 GB, free: 1.688 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/1.326, allocations: 0.6432 MB / 1.339 GB, free: 1.402 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/1.326, allocations: 46.39 kB / 1.339 GB, free: 1.355 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/1.326, allocations: 427.6 kB / 1.339 GB, free: 1.023 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/1.326, allocations: 293 kB / 1.34 GB, free: 0.793 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/1.327, allocations: 166.3 kB / 1.34 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.327, allocations: 390.6 kB / 1.34 GB, free: 380 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008549/1.328, allocations: 323.8 kB / 1.34 GB, free: 276 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009381/1.329, allocations: 426 kB / 1.341 GB, free: 96 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/1.331, allocations: 0.7112 MB / 1.342 GB, free: 15.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-06/1.331, allocations: 4.812 kB / 1.342 GB, free: 15.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002707/1.333, allocations: 0.9702 MB / 1.342 GB, free: 15.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.333, allocations: 5.094 kB / 1.342 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.333, allocations: 1.125 kB / 1.342 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/1.334, allocations: 84.19 kB / 1.343 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/1.335, allocations: 189 kB / 1.343 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/1.337, allocations: 1.632 MB / 1.344 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.338, allocations: 117.3 kB / 1.344 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/1.338, allocations: 40.14 kB / 1.344 GB, free: 13.79 MB / 1.029 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.0006414/1.339, allocations: 279.2 kB / 1.345 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/1.339, allocations: 91.28 kB / 1.345 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/1.342, allocations: 1.204 MB / 1.346 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/1.342, allocations: 11.06 kB / 1.346 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.342, allocations: 1.094 kB / 1.346 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.342, allocations: 4.406 kB / 1.346 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/1.347, allocations: 2.138 MB / 1.348 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/1.347, allocations: 5.25 kB / 1.348 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/1.348, allocations: 169 kB / 1.348 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004432/1.348, allocations: 79.45 kB / 1.348 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.998e-05/1.348, allocations: 25.48 kB / 1.348 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001951/1.35, allocations: 1.667 MB / 1.35 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.35, allocations: 3.938 kB / 1.35 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/1.353, allocations: 1.12 MB / 1.351 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/1.354, allocations: 283.9 kB / 1.351 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/1.354, allocations: 22.62 kB / 1.351 GB, free: 9.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/1.355, allocations: 84.11 kB / 1.351 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001767/1.355, allocations: 70.48 kB / 1.352 GB, free: 9.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/1.355, allocations: 47.12 kB / 1.352 GB, free: 9.715 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007951/1.356, allocations: 469 kB / 1.352 GB, free: 9.508 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.356, allocations: 3.75 kB / 1.352 GB, free: 9.508 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001276/1.357, allocations: 356.9 kB / 1.352 GB, free: 9.406 MB / 1.029 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.00172/1.359, allocations: 0.5965 MB / 1.353 GB, free: 9.152 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.361, allocations: 0.9501 MB / 1.354 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.361, allocations: 2.188 kB / 1.354 GB, free: 8.785 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/1.363, allocations: 0.5852 MB / 1.354 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/1.364, allocations: 312.7 kB / 1.355 GB, free: 8.426 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/1.368, allocations: 1.816 MB / 1.357 GB, free: 7.391 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007684/1.369, allocations: 1.048 MB / 1.358 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000994/1.37, allocations: 268.6 kB / 1.358 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/1.37, allocations: 115.6 kB / 1.358 GB, free: 6.363 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/1.37, allocations: 3.938 kB / 1.358 GB, free: 6.359 MB / 1.029 GB Notification: Performance of Templates: time 0.0293/1.399, allocations: 16.05 MB / 1.374 GB, free: 14.36 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches