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.00176/0.00176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001944/0.001944, allocations: 195.8 kB / 16.14 MB, free: 6.633 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.556/1.556, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.732/2.732, allocations: 437 MB / 0.71 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 63.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7533, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008603/0.7619, allocations: 5.192 MB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2146/0.9766, allocations: 148.4 MB / 1.167 GB, free: 8.609 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.978, allocations: 15.94 kB / 1.167 GB, free: 8.594 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006959/0.9787, allocations: 150.8 kB / 1.167 GB, free: 8.445 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001861/0.9806, allocations: 493.5 kB / 1.167 GB, free: 7.965 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.9829, allocations: 0.7533 MB / 1.168 GB, free: 7.219 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00197/0.9849, allocations: 1.362 MB / 1.169 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.986, allocations: 0.6369 MB / 1.17 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008735/0.9869, allocations: 458.2 kB / 1.17 GB, free: 4.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000681/0.9876, allocations: 0.5211 MB / 1.171 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001493/0.9878, allocations: 64 kB / 1.171 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001075/0.9889, allocations: 407.6 kB / 1.171 GB, free: 3.758 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003184/0.9892, allocations: 263 kB / 1.172 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006442/0.9898, allocations: 0.5672 MB / 1.172 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002074/0.9919, allocations: 1.651 MB / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9919, allocations: 0 / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.373e-06/0.992, allocations: 0 / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.992, allocations: 4 kB / 1.174 GB, free: 1.27 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.003371/0.9954, allocations: 1.5 MB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.9954, allocations: 8.031 kB / 1.175 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.9973, allocations: 315.2 kB / 1.175 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.9987, allocations: 0.7616 MB / 1.176 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.168e-05/0.9988, allocations: 73.98 kB / 1.176 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.9989, allocations: 95.94 kB / 1.176 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/1.001, allocations: 1.07 MB / 1.177 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.001, allocations: 0 / 1.177 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.001, allocations: 43.94 kB / 1.177 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/1.001, allocations: 24 kB / 1.178 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/1.004, allocations: 1.268 MB / 1.179 GB, free: 11.99 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.005554/1.01, allocations: 2.978 MB / 1.182 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/1.012, allocations: 1.028 MB / 1.183 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008352/1.013, allocations: 358.6 kB / 1.183 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/1.013, allocations: 32.61 kB / 1.183 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00137/1.015, allocations: 0.5645 MB / 1.184 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 3.126e-06/1.015, allocations: 0 / 1.184 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.00444/1.019, allocations: 1.384 MB / 1.185 GB, free: 5.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.019, allocations: 192.9 kB / 1.185 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/1.02, allocations: 0.6371 MB / 1.186 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.285e-05/1.02, allocations: 45.7 kB / 1.186 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004063/1.021, allocations: 428.2 kB / 1.186 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/1.021, allocations: 272.1 kB / 1.186 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/1.021, allocations: 166.5 kB / 1.187 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002153/1.022, allocations: 394.7 kB / 1.187 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008434/1.022, allocations: 333.7 kB / 1.187 GB, free: 2.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000951/1.023, allocations: 419 kB / 1.188 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001753/1.025, allocations: 0.7101 MB / 1.188 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/1.025, allocations: 4 kB / 1.188 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002726/1.028, allocations: 0.9658 MB / 1.189 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.028, allocations: 8 kB / 1.189 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/1.028, allocations: 0 / 1.189 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/1.029, allocations: 88.8 kB / 1.189 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/1.03, allocations: 187.8 kB / 1.19 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/1.032, allocations: 1.528 MB / 1.191 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009835/1.033, allocations: 111.3 kB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.32e-05/1.033, allocations: 39.97 kB / 1.191 GB, free: 14.71 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.0005742/1.034, allocations: 283.6 kB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/1.034, allocations: 82.97 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/1.037, allocations: 1.21 MB / 1.193 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.037, allocations: 8 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.037, allocations: 4 kB / 1.193 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/1.037, allocations: 3.984 kB / 1.193 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004367/1.042, allocations: 2.139 MB / 1.195 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.042, allocations: 4 kB / 1.195 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/1.042, allocations: 171.8 kB / 1.195 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005384/1.043, allocations: 84.72 kB / 1.195 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/1.043, allocations: 27.97 kB / 1.195 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/1.046, allocations: 1.551 MB / 1.197 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.046, allocations: 144 / 1.197 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00315/1.049, allocations: 1.113 MB / 1.198 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005602/1.049, allocations: 275.7 kB / 1.198 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/1.049, allocations: 23.94 kB / 1.198 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/1.05, allocations: 94.2 kB / 1.198 GB, free: 7.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.051, allocations: 76.77 kB / 1.198 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.051, allocations: 43.97 kB / 1.198 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008027/1.052, allocations: 467 kB / 1.199 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.052, allocations: 0 / 1.199 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001174/1.053, allocations: 343.2 kB / 1.199 GB, free: 6.488 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.002274/1.055, allocations: 0.61 MB / 1.2 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002504/1.058, allocations: 0.9523 MB / 1.201 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.058, allocations: 0 / 1.201 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001374/1.059, allocations: 0.5861 MB / 1.201 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.06, allocations: 279.7 kB / 1.201 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/1.065, allocations: 2.239 MB / 1.204 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009319/1.066, allocations: 1.055 MB / 1.205 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001116/1.067, allocations: 286.8 kB / 1.205 GB, free: 0.5938 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/1.067, allocations: 115.3 kB / 1.205 GB, free: 492 kB / 0.9512 GB Notification: Performance of SimCode: time 4.21e-07/1.067, allocations: 0 / 1.205 GB, free: 492 kB / 0.9512 GB Notification: Performance of Templates: time 0.03154/1.099, allocations: 15.21 MB / 1.22 GB, free: 1.438 MB / 0.9669 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=400 -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