Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007375/0.007375, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001637/0.001636, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.488/2.488, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 65.64 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.329, allocations: 140.4 MB / 1.088 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006244/0.3353, allocations: 4.43 MB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.5096, allocations: 150.6 MB / 1.239 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009396/0.5106, allocations: 23.88 kB / 1.239 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005965/0.5112, allocations: 178.3 kB / 1.239 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.513, allocations: 0.4995 MB / 1.24 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.5152, allocations: 0.8562 MB / 1.241 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.5165, allocations: 1.324 MB / 1.242 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.5174, allocations: 0.7157 MB / 1.243 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006268/0.5181, allocations: 0.5022 MB / 1.243 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.5186, allocations: 0.5405 MB / 1.244 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.5188, allocations: 128 kB / 1.244 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009391/0.5197, allocations: 491.6 kB / 1.244 GB, free: 0.6484 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.52, allocations: 326.9 kB / 1.245 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004908/0.5205, allocations: 0.5946 MB / 1.245 GB, free: 15.73 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.5225, allocations: 1.712 MB / 1.247 GB, free: 14.01 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5225, allocations: 0 / 1.247 GB, free: 14.01 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5226, allocations: 0 / 1.247 GB, free: 14.01 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.5226, allocations: 0 / 1.247 GB, free: 14.01 MB / 1.014 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.002725/0.5253, allocations: 1.529 MB / 1.248 GB, free: 12.43 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.5254, allocations: 12.03 kB / 1.248 GB, free: 12.42 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.5271, allocations: 311.9 kB / 1.249 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.5284, allocations: 0.7895 MB / 1.25 GB, free: 11.28 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.5285, allocations: 74 kB / 1.25 GB, free: 11.21 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.5286, allocations: 95.98 kB / 1.25 GB, free: 11.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.5306, allocations: 1.066 MB / 1.251 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.5306, allocations: 7.938 kB / 1.251 GB, free: 10 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.5307, allocations: 40 kB / 1.251 GB, free: 9.965 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.5308, allocations: 24 kB / 1.251 GB, free: 9.941 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.5331, allocations: 1.264 MB / 1.252 GB, free: 8.672 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004526/0.5377, allocations: 2.693 MB / 1.255 GB, free: 5.918 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002552/0.5402, allocations: 1.021 MB / 1.256 GB, free: 4.875 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007882/0.541, allocations: 366.5 kB / 1.256 GB, free: 4.512 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.5411, allocations: 32.59 kB / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.5422, allocations: 0.549 MB / 1.257 GB, free: 3.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 2.454e-06/0.5423, allocations: 4 kB / 1.257 GB, free: 3.906 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.003818/0.5461, allocations: 1.384 MB / 1.258 GB, free: 2.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.5462, allocations: 196.9 kB / 1.258 GB, free: 2.266 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007605/0.547, allocations: 0.6449 MB / 1.259 GB, free: 1.613 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.547, allocations: 41.7 kB / 1.259 GB, free: 1.566 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.5474, allocations: 433 kB / 1.259 GB, free: 1.137 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/0.5476, allocations: 285.5 kB / 1.259 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.5479, allocations: 166.6 kB / 1.26 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.548, allocations: 390.7 kB / 1.26 GB, free: 300 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.7777/1.326, allocations: 317.8 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/1.327, allocations: 417.1 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/1.329, allocations: 0.7111 MB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/1.329, allocations: 2.875 kB / 1.261 GB, free: 173.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003156/1.332, allocations: 0.9718 MB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.332, allocations: 5.438 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.332, allocations: 1.484 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/1.333, allocations: 81.55 kB / 1.262 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009608/1.334, allocations: 187.9 kB / 1.263 GB, free: 173.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/1.336, allocations: 1.632 MB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/1.337, allocations: 116.6 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.501e-05/1.337, allocations: 40 kB / 1.264 GB, free: 171.8 MB / 1.014 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.0005562/1.338, allocations: 282.5 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/1.338, allocations: 89.64 kB / 1.265 GB, free: 171.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003079/1.341, allocations: 1.2 MB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.341, allocations: 10.69 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.341, allocations: 6.938 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/1.341, allocations: 5.062 kB / 1.266 GB, free: 171.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/1.345, allocations: 2.144 MB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.345, allocations: 0 / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/1.346, allocations: 178.1 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/1.346, allocations: 69.38 kB / 1.268 GB, free: 170.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/1.347, allocations: 26.97 kB / 1.268 GB, free: 170.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/1.348, allocations: 1.664 MB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.348, allocations: 0.75 kB / 1.27 GB, free: 168.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/1.351, allocations: 1.126 MB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/1.352, allocations: 279 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/1.352, allocations: 23.88 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/1.353, allocations: 83.31 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/1.353, allocations: 79.38 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/1.353, allocations: 37.84 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007676/1.354, allocations: 465.6 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.354, allocations: 0.5312 kB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001272/1.355, allocations: 338.5 kB / 1.272 GB, free: 167.8 MB / 1.014 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.001531/1.356, allocations: 0.6104 MB / 1.273 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002685/1.359, allocations: 0.952 MB / 1.274 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.359, allocations: 0 / 1.274 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/1.36, allocations: 0.5831 MB / 1.274 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.362, allocations: 294.9 kB / 1.275 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004374/1.366, allocations: 1.912 MB / 1.276 GB, free: 166 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/1.367, allocations: 1.049 MB / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009761/1.368, allocations: 284.2 kB / 1.278 GB, free: 165.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/1.368, allocations: 116.8 kB / 1.278 GB, free: 165.1 MB / 1.014 GB Notification: Performance of SimCode: time 8.81e-07/1.368, allocations: 0 / 1.278 GB, free: 165.1 MB / 1.014 GB Notification: Performance of Templates: time 0.03726/1.405, allocations: 15.64 MB / 1.293 GB, free: 161.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches