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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001569/0.001569, allocations: 110.8 kB / 16.37 MB, free: 6.469 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.00173/0.00173, allocations: 189.8 kB / 17.3 MB, free: 5.828 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 62.97 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3414, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.009791/0.3513, allocations: 5.174 MB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 1.086/1.437, allocations: 150.7 MB / 1.179 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001171/1.439, allocations: 15.38 kB / 1.179 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006925/1.439, allocations: 196.3 kB / 1.179 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/1.442, allocations: 0.5638 MB / 1.18 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/1.444, allocations: 0.8615 MB / 1.181 GB, free: 5.555 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002332/1.446, allocations: 1.457 MB / 1.182 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/1.447, allocations: 0.6655 MB / 1.183 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/1.448, allocations: 0.5207 MB / 1.183 GB, free: 3.934 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/1.449, allocations: 0.5519 MB / 1.184 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/1.449, allocations: 128.1 kB / 1.184 GB, free: 3.539 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/1.451, allocations: 493 kB / 1.184 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003315/1.451, allocations: 323.9 kB / 1.185 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006376/1.452, allocations: 0.6129 MB / 1.185 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/1.454, allocations: 1.747 MB / 1.187 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.454, allocations: 0 / 1.187 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.054e-06/1.454, allocations: 5.062 kB / 1.187 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.956e-05/1.454, allocations: 0 / 1.187 GB, free: 1.402 MB / 0.8887 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.0033/1.458, allocations: 1.513 MB / 1.188 GB, free: 220 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.458, allocations: 9.281 kB / 1.188 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/1.459, allocations: 302.7 kB / 1.189 GB, free: 88 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/1.461, allocations: 0.7929 MB / 1.189 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.356e-05/1.461, allocations: 69.53 kB / 1.189 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/1.461, allocations: 94.25 kB / 1.19 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/1.463, allocations: 1.067 MB / 1.191 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.463, allocations: 0 / 1.191 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/1.464, allocations: 41.62 kB / 1.191 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/1.464, allocations: 23.38 kB / 1.191 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/1.466, allocations: 1.272 MB / 1.192 GB, free: 14.08 MB / 0.9044 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.005525/1.472, allocations: 2.944 MB / 1.195 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/1.474, allocations: 1.025 MB / 1.196 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/1.475, allocations: 365 kB / 1.196 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.271e-05/1.475, allocations: 38.38 kB / 1.196 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/1.476, allocations: 0.5592 MB / 1.197 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=84): time 2.745e-06/1.476, allocations: 0 / 1.197 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84): time 0.003982/1.48, allocations: 1.391 MB / 1.198 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.481, allocations: 194.4 kB / 1.198 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009481/1.481, allocations: 0.6363 MB / 1.199 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.591e-05/1.482, allocations: 43.05 kB / 1.199 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/1.482, allocations: 424.7 kB / 1.199 GB, free: 8.898 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/1.482, allocations: 275.2 kB / 1.2 GB, free: 8.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/1.482, allocations: 172.8 kB / 1.2 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001845/1.483, allocations: 384.5 kB / 1.2 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007477/1.483, allocations: 322.5 kB / 1.2 GB, free: 8.039 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/1.484, allocations: 422.7 kB / 1.201 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/1.486, allocations: 0.7137 MB / 1.202 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.486, allocations: 0 / 1.202 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002481/1.488, allocations: 0.9696 MB / 1.202 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.488, allocations: 12.38 kB / 1.202 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.488, allocations: 2.688 kB / 1.202 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/1.489, allocations: 83.67 kB / 1.203 GB, free: 6.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/1.49, allocations: 190.8 kB / 1.203 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/1.492, allocations: 1.634 MB / 1.204 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.493, allocations: 117 kB / 1.204 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.338e-05/1.493, allocations: 41.47 kB / 1.204 GB, free: 5.16 MB / 0.9044 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.0005915/1.494, allocations: 272.9 kB / 1.205 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/1.494, allocations: 84.12 kB / 1.205 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/1.497, allocations: 1.205 MB / 1.206 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.497, allocations: 7.844 kB / 1.206 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/1.497, allocations: 2.406 kB / 1.206 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.497, allocations: 3.984 kB / 1.206 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/1.501, allocations: 2.138 MB / 1.208 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/1.501, allocations: 0 / 1.208 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007355/1.502, allocations: 173 kB / 1.208 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/1.502, allocations: 71.97 kB / 1.208 GB, free: 2.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/1.502, allocations: 29.36 kB / 1.208 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/1.504, allocations: 1.667 MB / 1.21 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.504, allocations: 0 / 1.21 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/1.507, allocations: 1.115 MB / 1.211 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/1.507, allocations: 279.7 kB / 1.211 GB, free: 15.52 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/1.508, allocations: 19.91 kB / 1.211 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000794/1.508, allocations: 83.91 kB / 1.211 GB, free: 15.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/1.509, allocations: 77.03 kB / 1.212 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/1.509, allocations: 43.91 kB / 1.212 GB, free: 15.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006434/1.509, allocations: 463 kB / 1.212 GB, free: 14.85 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/1.509, allocations: 4 kB / 1.212 GB, free: 14.85 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001049/1.51, allocations: 347.1 kB / 1.212 GB, free: 14.51 MB / 0.92 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.001416/1.512, allocations: 0.5992 MB / 1.213 GB, free: 14.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002268/1.514, allocations: 0.9572 MB / 1.214 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.514, allocations: 0 / 1.214 GB, free: 13.12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/1.515, allocations: 0.5861 MB / 1.214 GB, free: 12.52 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.517, allocations: 319.8 kB / 1.215 GB, free: 12.23 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/1.52, allocations: 1.776 MB / 1.216 GB, free: 10.43 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006247/1.521, allocations: 1.047 MB / 1.217 GB, free: 9.355 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008953/1.522, allocations: 278.9 kB / 1.218 GB, free: 9.078 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/1.522, allocations: 111.4 kB / 1.218 GB, free: 8.969 MB / 0.92 GB Notification: Performance of SimCode: time 1.142e-06/1.522, allocations: 0 / 1.218 GB, free: 8.969 MB / 0.92 GB Notification: Performance of Templates: time 0.02875/1.551, allocations: 15.89 MB / 1.233 GB, free: 9.273 MB / 0.9356 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 -s cvode -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) Reference file matches