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.006933/0.006933, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001631/0.001631, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.53 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007216/0.356, allocations: 5.171 MB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1662/0.5223, allocations: 148.4 MB / 1.203 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.5235, allocations: 15.94 kB / 1.203 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009301/0.5244, allocations: 154.8 kB / 1.203 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.5267, allocations: 496.2 kB / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.5289, allocations: 0.7362 MB / 1.204 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001972/0.5309, allocations: 1.362 MB / 1.205 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.5322, allocations: 0.6486 MB / 1.206 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009478/0.5332, allocations: 470.1 kB / 1.206 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009097/0.5341, allocations: 0.5133 MB / 1.207 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.00033/0.5344, allocations: 68 kB / 1.207 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.5356, allocations: 407.6 kB / 1.207 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004177/0.536, allocations: 263 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008716/0.5369, allocations: 0.5439 MB / 1.208 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.5386, allocations: 1.286 MB / 1.209 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5386, allocations: 4 kB / 1.209 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5386, allocations: 4 kB / 1.209 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.685e-05/0.5387, allocations: 0 / 1.209 GB, free: 7.184 MB / 0.9669 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.003658/0.5423, allocations: 1.512 MB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.5424, allocations: 11.97 kB / 1.211 GB, free: 5.613 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.5442, allocations: 303.2 kB / 1.211 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5456, allocations: 0.7655 MB / 1.212 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.5457, allocations: 78 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.5459, allocations: 92 kB / 1.212 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.5482, allocations: 1.07 MB / 1.213 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.5482, allocations: 0 / 1.213 GB, free: 3.234 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.5483, allocations: 39.98 kB / 1.213 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.5484, allocations: 28 kB / 1.213 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.5508, allocations: 1.268 MB / 1.214 GB, free: 1.898 MB / 0.9669 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.005247/0.5561, allocations: 2.978 MB / 1.217 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.5588, allocations: 1.024 MB / 1.218 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008287/0.5596, allocations: 366.6 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.853e-05/0.5597, allocations: 32.59 kB / 1.219 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.561, allocations: 0.5606 MB / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 3.115e-06/0.561, allocations: 0 / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.004039/0.5651, allocations: 1.384 MB / 1.221 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.5652, allocations: 192.9 kB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/0.5662, allocations: 0.6448 MB / 1.221 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.451e-05/0.5663, allocations: 41.7 kB / 1.222 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.5667, allocations: 424.3 kB / 1.222 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002654/0.567, allocations: 276 kB / 1.222 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.5673, allocations: 166.5 kB / 1.222 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.5675, allocations: 386.8 kB / 1.223 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007924/0.5683, allocations: 325.8 kB / 1.223 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/0.5692, allocations: 427 kB / 1.223 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.5708, allocations: 0.7101 MB / 1.224 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.5709, allocations: 4 kB / 1.224 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002616/0.5735, allocations: 0.9735 MB / 1.225 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.5735, allocations: 4 kB / 1.225 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5735, allocations: 0 / 1.225 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/0.5742, allocations: 84.86 kB / 1.225 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.575, allocations: 187.8 kB / 1.225 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.5772, allocations: 1.522 MB / 1.227 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.5785, allocations: 115.4 kB / 1.227 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.5787, allocations: 43.91 kB / 1.227 GB, free: 4.629 MB / 0.9825 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.0009759/0.5797, allocations: 276.3 kB / 1.227 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004381/0.5801, allocations: 86.97 kB / 1.227 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/0.5838, allocations: 1.206 MB / 1.229 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.5838, allocations: 12 kB / 1.229 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5838, allocations: 4 kB / 1.229 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.651e-05/0.5839, allocations: 3.984 kB / 1.229 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/0.5886, allocations: 2.147 MB / 1.231 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5886, allocations: 0 / 1.231 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007834/0.5894, allocations: 179.7 kB / 1.231 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/0.5899, allocations: 84.77 kB / 1.231 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.106e-05/0.59, allocations: 27.98 kB / 1.231 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.5921, allocations: 1.54 MB / 1.232 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.5921, allocations: 3.984 kB / 1.232 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/0.595, allocations: 1.121 MB / 1.233 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005843/0.5956, allocations: 279.7 kB / 1.234 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002505/0.5958, allocations: 20 kB / 1.234 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009803/0.5968, allocations: 87.81 kB / 1.234 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.597, allocations: 76.89 kB / 1.234 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/0.5971, allocations: 31.98 kB / 1.234 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000759/0.5979, allocations: 463 kB / 1.234 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5979, allocations: 4 kB / 1.234 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001142/0.599, allocations: 347.2 kB / 1.235 GB, free: 12.41 MB / 0.9981 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.00162/0.6007, allocations: 0.6193 MB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002378/0.603, allocations: 0.9562 MB / 1.236 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6031, allocations: 0 / 1.236 GB, free: 11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.6044, allocations: 0.5744 MB / 1.237 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/0.6058, allocations: 286.1 kB / 1.237 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.61, allocations: 2.288 MB / 1.239 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008445/0.6109, allocations: 1.048 MB / 1.24 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.6113, allocations: 119.4 kB / 1.24 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of SimCode: time 1.202e-06/0.6113, allocations: 0 / 1.24 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of Templates: time 0.6399/1.251, allocations: 19.71 MB / 1.26 GB, free: 188 MB / 0.9981 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 -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) "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time