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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009165/0.0009165, allocations: 91.92 kB / 16.02 MB, free: 80 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.001256/0.001256, allocations: 177.5 kB / 16.92 MB, free: 6.652 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.501/1.501, allocations: 223.3 MB / 241 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003874, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8108, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005658/0.8166, allocations: 4.749 MB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.9875, allocations: 146.8 MB / 1.172 GB, free: 7.781 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009593/0.9885, allocations: 19.88 kB / 1.172 GB, free: 7.762 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005793/0.9891, allocations: 150.8 kB / 1.172 GB, free: 7.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.991, allocations: 0.4906 MB / 1.172 GB, free: 7.125 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002106/0.9931, allocations: 0.7405 MB / 1.173 GB, free: 6.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.9949, allocations: 1.362 MB / 1.174 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009495/0.9958, allocations: 0.6258 MB / 1.175 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006495/0.9965, allocations: 370.2 kB / 1.175 GB, free: 4.012 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005483/0.9971, allocations: 417.7 kB / 1.176 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.956e-05/0.9971, allocations: 24 kB / 1.176 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000874/0.998, allocations: 367.6 kB / 1.176 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.9982, allocations: 199.1 kB / 1.176 GB, free: 3.023 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004915/0.9987, allocations: 0.4947 MB / 1.177 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/1, allocations: 1.266 MB / 1.178 GB, free: 1.25 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1, allocations: 0 / 1.178 GB, free: 1.25 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.924e-06/1, allocations: 0 / 1.178 GB, free: 1.25 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.66e-05/1, allocations: 0 / 1.178 GB, free: 1.25 MB / 0.92 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.002481/1.003, allocations: 1.278 MB / 1.179 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.003, allocations: 8.031 kB / 1.179 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/1.004, allocations: 315.2 kB / 1.18 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.006, allocations: 0.7655 MB / 1.18 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.501e-05/1.006, allocations: 74 kB / 1.18 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/1.006, allocations: 96 kB / 1.18 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/1.008, allocations: 1.074 MB / 1.181 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.008, allocations: 4 kB / 1.182 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.008, allocations: 44 kB / 1.182 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/1.008, allocations: 27.94 kB / 1.182 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/1.011, allocations: 1.276 MB / 1.183 GB, free: 12.16 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.005483/1.016, allocations: 3.013 MB / 1.186 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002753/1.019, allocations: 1.044 MB / 1.187 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/1.02, allocations: 366.6 kB / 1.187 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-05/1.02, allocations: 32.59 kB / 1.187 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/1.021, allocations: 0.5645 MB / 1.188 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/1.021, allocations: 0 / 1.188 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.004006/1.025, allocations: 1.403 MB / 1.189 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.025, allocations: 192.9 kB / 1.189 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/1.026, allocations: 0.6372 MB / 1.19 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/1.026, allocations: 41.7 kB / 1.19 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/1.027, allocations: 428.2 kB / 1.19 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/1.027, allocations: 272.1 kB / 1.191 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/1.027, allocations: 73.67 kB / 1.191 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.027, allocations: 390.8 kB / 1.191 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008555/1.028, allocations: 325.8 kB / 1.191 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/1.029, allocations: 434.9 kB / 1.192 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/1.031, allocations: 0.7179 MB / 1.192 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.031, allocations: 0 / 1.192 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002615/1.033, allocations: 0.9776 MB / 1.193 GB, free: 0.9883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/1.033, allocations: 8 kB / 1.193 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.033, allocations: 0 / 1.193 GB, free: 0.9805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/1.034, allocations: 80.86 kB / 1.194 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/1.035, allocations: 195.7 kB / 1.194 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/1.037, allocations: 1.526 MB / 1.195 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/1.038, allocations: 132.4 kB / 1.195 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.039, allocations: 39.97 kB / 1.195 GB, free: 14.87 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.0007258/1.039, allocations: 279.3 kB / 1.196 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/1.04, allocations: 82.97 kB / 1.196 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003323/1.043, allocations: 1.218 MB / 1.197 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.043, allocations: 12 kB / 1.197 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/1.043, allocations: 0 / 1.197 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/1.043, allocations: 3.984 kB / 1.197 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/1.048, allocations: 2.151 MB / 1.199 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/1.048, allocations: 4 kB / 1.199 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/1.048, allocations: 175.8 kB / 1.199 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005523/1.049, allocations: 84.77 kB / 1.199 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.028e-05/1.049, allocations: 23.98 kB / 1.199 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/1.051, allocations: 1.555 MB / 1.201 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.051, allocations: 64 / 1.201 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/1.054, allocations: 1.125 MB / 1.202 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007062/1.055, allocations: 299.5 kB / 1.202 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002247/1.055, allocations: 20 kB / 1.202 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/1.056, allocations: 107.4 kB / 1.202 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/1.056, allocations: 76.89 kB / 1.202 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/1.056, allocations: 43.84 kB / 1.202 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008/1.057, allocations: 463 kB / 1.203 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/1.057, allocations: 0 / 1.203 GB, free: 6.934 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001269/1.059, allocations: 347.1 kB / 1.203 GB, free: 6.594 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.001729/1.06, allocations: 0.6124 MB / 1.204 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002501/1.063, allocations: 0.9602 MB / 1.205 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.063, allocations: 0 / 1.205 GB, free: 5.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001299/1.064, allocations: 0.5899 MB / 1.205 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.066, allocations: 282.5 kB / 1.206 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/1.07, allocations: 2.312 MB / 1.208 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008241/1.071, allocations: 1.051 MB / 1.209 GB, free: 0.8867 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/1.071, allocations: 115.4 kB / 1.209 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/1.071, allocations: 0 / 1.209 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of Templates: time 0.03083/1.102, allocations: 19.61 MB / 1.228 GB, free: 13.22 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/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