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.0016/0.0016, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 193 kB / 16.53 MB, free: 6.391 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.671/2.671, allocations: 437 MB / 0.7103 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 59.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6992, allocations: 151.6 MB / 1.017 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00677/0.706, allocations: 5.174 MB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1714/0.8774, allocations: 150.7 MB / 1.169 GB, free: 6.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.879, allocations: 19.88 kB / 1.169 GB, free: 6.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.8798, allocations: 206.1 kB / 1.17 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002449/0.8823, allocations: 0.5592 MB / 1.17 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.8845, allocations: 0.8491 MB / 1.171 GB, free: 4.457 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001898/0.8864, allocations: 1.456 MB / 1.172 GB, free: 2.996 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008823/0.8873, allocations: 0.6614 MB / 1.173 GB, free: 2.316 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00066/0.888, allocations: 0.5139 MB / 1.174 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.8886, allocations: 0.5523 MB / 1.174 GB, free: 1.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.8888, allocations: 128 kB / 1.174 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.8897, allocations: 483.6 kB / 1.175 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.89, allocations: 315 kB / 1.175 GB, free: 348 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005047/0.8905, allocations: 0.6141 MB / 1.176 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.8922, allocations: 1.706 MB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8922, allocations: 0 / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8923, allocations: 4 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.606e-05/0.8923, allocations: 0 / 1.177 GB, free: 14.01 MB / 0.9356 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.002547/0.8948, allocations: 1.508 MB / 1.179 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8949, allocations: 8.031 kB / 1.179 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.8966, allocations: 307.1 kB / 1.179 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.8976, allocations: 0.7616 MB / 1.18 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.212e-05/0.8977, allocations: 74 kB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.8978, allocations: 95.98 kB / 1.18 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.8996, allocations: 1.07 MB / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.8996, allocations: 0 / 1.181 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.05e-05/0.8997, allocations: 36 kB / 1.181 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.8998, allocations: 24 kB / 1.181 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.902, allocations: 1.276 MB / 1.182 GB, free: 8.719 MB / 0.9356 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.004527/0.9066, allocations: 2.99 MB / 1.185 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.9092, allocations: 1.024 MB / 1.186 GB, free: 4.559 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007725/0.91, allocations: 370.5 kB / 1.187 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.091e-05/0.91, allocations: 32.61 kB / 1.187 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.9111, allocations: 0.5567 MB / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.695e-06/0.9111, allocations: 0 / 1.187 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.004007/0.9152, allocations: 1.387 MB / 1.189 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.9153, allocations: 192.9 kB / 1.189 GB, free: 1.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008113/0.9161, allocations: 0.641 MB / 1.189 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.9162, allocations: 41.7 kB / 1.189 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.9165, allocations: 424.2 kB / 1.19 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002051/0.9167, allocations: 276.1 kB / 1.19 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.917, allocations: 166.5 kB / 1.19 GB, free: 384 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.9171, allocations: 390.7 kB / 1.191 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007591/0.9179, allocations: 325.8 kB / 1.191 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008497/0.9188, allocations: 423 kB / 1.191 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/0.9204, allocations: 0.7101 MB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9204, allocations: 0 / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002482/0.9229, allocations: 0.9774 MB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.9229, allocations: 4 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9229, allocations: 4 kB / 1.193 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006253/0.9236, allocations: 84.86 kB / 1.193 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.9244, allocations: 179.8 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.9267, allocations: 1.647 MB / 1.195 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.9278, allocations: 111.3 kB / 1.195 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.9279, allocations: 35.97 kB / 1.195 GB, free: 11.32 MB / 0.9512 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.0006694/0.9285, allocations: 279.4 kB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.9288, allocations: 83.16 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002998/0.9318, allocations: 1.21 MB / 1.196 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.9318, allocations: 12 kB / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9318, allocations: 0 / 1.196 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.9319, allocations: 3.984 kB / 1.197 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/0.9361, allocations: 2.139 MB / 1.199 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.9361, allocations: 0 / 1.199 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/0.9369, allocations: 187.6 kB / 1.199 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004661/0.9374, allocations: 72.8 kB / 1.199 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.9375, allocations: 27.97 kB / 1.199 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.9396, allocations: 1.662 MB / 1.2 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.9396, allocations: 0 / 1.2 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.9423, allocations: 1.113 MB / 1.202 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000621/0.943, allocations: 279.7 kB / 1.202 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002697/0.9433, allocations: 23.94 kB / 1.202 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/0.9442, allocations: 79.91 kB / 1.202 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.9444, allocations: 80.84 kB / 1.202 GB, free: 3.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/0.9445, allocations: 35.97 kB / 1.202 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006915/0.9452, allocations: 463 kB / 1.202 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9452, allocations: 0 / 1.202 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001172/0.9464, allocations: 351.1 kB / 1.203 GB, free: 2.992 MB / 0.9512 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.001755/0.9481, allocations: 0.6039 MB / 1.203 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.9514, allocations: 1.167 MB / 1.205 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.9514, allocations: 0 / 1.205 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.9527, allocations: 0.5898 MB / 1.205 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.9544, allocations: 308.7 kB / 1.205 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.9579, allocations: 1.805 MB / 1.207 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006839/0.9586, allocations: 1.051 MB / 1.208 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001039/0.9597, allocations: 271 kB / 1.208 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003544/0.96, allocations: 111.4 kB / 1.209 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of SimCode: time 8.72e-07/0.96, allocations: 0 / 1.209 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of Templates: time 0.02941/0.9894, allocations: 15.89 MB / 1.224 GB, free: 13.5 MB / 0.9825 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