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.001769/0.001769, 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.001988/0.001988, allocations: 193.1 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.516/1.516, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.754/2.754, allocations: 437 MB / 0.7104 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 71.88 kB / 0.8692 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6502/0.6525, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007634/0.6602, allocations: 5.183 MB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1896/0.8499, allocations: 150.7 MB / 1.169 GB, free: 5.996 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009625/0.8509, allocations: 19.88 kB / 1.17 GB, free: 5.977 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006475/0.8515, allocations: 194.1 kB / 1.17 GB, free: 5.785 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.8535, allocations: 0.5669 MB / 1.17 GB, free: 5.219 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.8556, allocations: 0.8527 MB / 1.171 GB, free: 4.371 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001738/0.8573, allocations: 1.452 MB / 1.173 GB, free: 2.914 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.8583, allocations: 0.6576 MB / 1.173 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007629/0.8591, allocations: 0.5217 MB / 1.174 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007075/0.8598, allocations: 0.5523 MB / 1.174 GB, free: 1.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.86, allocations: 128 kB / 1.174 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009638/0.861, allocations: 479.6 kB / 1.175 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.8613, allocations: 311 kB / 1.175 GB, free: 264 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006377/0.862, allocations: 0.618 MB / 1.176 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.8641, allocations: 1.706 MB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8641, allocations: 0 / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8641, allocations: 0 / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.725e-05/0.8641, allocations: 0 / 1.177 GB, free: 13.93 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.002885/0.867, allocations: 1.508 MB / 1.179 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8671, allocations: 8.031 kB / 1.179 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001792/0.8689, allocations: 311.1 kB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.8701, allocations: 0.7616 MB / 1.18 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.641e-05/0.8702, allocations: 74 kB / 1.18 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.8704, allocations: 92 kB / 1.18 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.8726, allocations: 1.078 MB / 1.181 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.8726, allocations: 0 / 1.181 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.8727, allocations: 40 kB / 1.181 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.8728, allocations: 24 kB / 1.181 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.8753, allocations: 1.268 MB / 1.182 GB, free: 8.637 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.005519/0.8809, allocations: 2.986 MB / 1.185 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.8838, allocations: 1.028 MB / 1.186 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008748/0.8847, allocations: 366.6 kB / 1.187 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.8848, allocations: 28.61 kB / 1.187 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.8861, allocations: 0.5684 MB / 1.187 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.8861, allocations: 0 / 1.187 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=84): time 0.00442/0.8905, allocations: 1.376 MB / 1.189 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.8907, allocations: 196.9 kB / 1.189 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.8917, allocations: 0.6488 MB / 1.189 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.8918, allocations: 41.7 kB / 1.189 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.8922, allocations: 424.2 kB / 1.19 GB, free: 0.7305 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.8926, allocations: 272.1 kB / 1.19 GB, free: 472 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.8929, allocations: 166.5 kB / 1.19 GB, free: 296 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.8931, allocations: 394.8 kB / 1.191 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008323/0.8939, allocations: 325.8 kB / 1.191 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000935/0.8949, allocations: 419.1 kB / 1.191 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001713/0.8966, allocations: 0.7179 MB / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8966, allocations: 0 / 1.192 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002616/0.8993, allocations: 0.9735 MB / 1.193 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.8993, allocations: 4 kB / 1.193 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.8993, allocations: 7.984 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/0.8999, allocations: 80.88 kB / 1.193 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/0.9008, allocations: 187.7 kB / 1.193 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002313/0.9031, allocations: 1.638 MB / 1.195 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009878/0.9041, allocations: 111.3 kB / 1.195 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.16e-05/0.9042, allocations: 39.97 kB / 1.195 GB, free: 11.23 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.0005495/0.9048, allocations: 271.4 kB / 1.195 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.905, allocations: 86.97 kB / 1.195 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.9081, allocations: 1.21 MB / 1.197 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.9081, allocations: 12 kB / 1.197 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9081, allocations: 0 / 1.197 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.9082, allocations: 7.969 kB / 1.197 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004193/0.9124, allocations: 2.139 MB / 1.199 GB, free: 7.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9124, allocations: 3.938 kB / 1.199 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007684/0.9132, allocations: 171.8 kB / 1.199 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/0.9136, allocations: 72.78 kB / 1.199 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/0.9137, allocations: 31.97 kB / 1.199 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/0.9158, allocations: 1.658 MB / 1.201 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9159, allocations: 4.031 kB / 1.201 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002808/0.9187, allocations: 1.109 MB / 1.202 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/0.9192, allocations: 283.7 kB / 1.202 GB, free: 3.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.9194, allocations: 19.94 kB / 1.202 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009123/0.9204, allocations: 85.59 kB / 1.202 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.9206, allocations: 80.83 kB / 1.202 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.9207, allocations: 44.03 kB / 1.202 GB, free: 3.691 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007171/0.9214, allocations: 463 kB / 1.203 GB, free: 3.242 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9214, allocations: 3.938 kB / 1.203 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001088/0.9225, allocations: 343.1 kB / 1.203 GB, free: 2.902 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.002191/0.9247, allocations: 0.5983 MB / 1.203 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003702/0.9284, allocations: 1.167 MB / 1.205 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.9284, allocations: 0 / 1.205 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/0.9298, allocations: 0.5782 MB / 1.205 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.9314, allocations: 310.3 kB / 1.205 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004279/0.9357, allocations: 1.817 MB / 1.207 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009232/0.9367, allocations: 1.049 MB / 1.208 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001183/0.9378, allocations: 274.9 kB / 1.209 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/0.9382, allocations: 115.4 kB / 1.209 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of SimCode: time 1.222e-06/0.9382, allocations: 0 / 1.209 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of Templates: time 0.03375/0.972, allocations: 15.9 MB / 1.224 GB, free: 13.41 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=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