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.006395/0.006395, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001325/0.001325, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.339/2.339, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9631/0.9652, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006306/0.9715, allocations: 4.42 MB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2076/1.179, allocations: 150.6 MB / 1.239 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/1.181, allocations: 19.19 kB / 1.239 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005951/1.181, allocations: 181.4 kB / 1.239 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/1.183, allocations: 0.5046 MB / 1.24 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/1.186, allocations: 0.8453 MB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001697/1.187, allocations: 1.338 MB / 1.242 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/1.189, allocations: 0.7128 MB / 1.243 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008519/1.189, allocations: 0.5088 MB / 1.243 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006289/1.19, allocations: 0.5334 MB / 1.244 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001835/1.19, allocations: 127.8 kB / 1.244 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/1.192, allocations: 0.4905 MB / 1.244 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/1.192, allocations: 322.9 kB / 1.245 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005647/1.193, allocations: 0.5868 MB / 1.245 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/1.195, allocations: 1.707 MB / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/1.195, allocations: 0 / 1.247 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.184e-06/1.195, allocations: 4 kB / 1.247 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.503e-05/1.195, allocations: 0 / 1.247 GB, free: 10.78 MB / 0.9825 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.002572/1.198, allocations: 1.488 MB / 1.248 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.198, allocations: 12.02 kB / 1.248 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/1.199, allocations: 303.2 kB / 1.249 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/1.2, allocations: 0.785 MB / 1.249 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.858e-05/1.2, allocations: 70 kB / 1.25 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/1.201, allocations: 96 kB / 1.25 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/1.202, allocations: 1.07 MB / 1.251 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.202, allocations: 3.938 kB / 1.251 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/1.203, allocations: 44 kB / 1.251 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.052e-05/1.203, allocations: 20 kB / 1.251 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/1.205, allocations: 1.268 MB / 1.252 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004278/1.209, allocations: 2.692 MB / 1.255 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/1.212, allocations: 1.017 MB / 1.256 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/1.212, allocations: 366.6 kB / 1.256 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.611e-05/1.212, allocations: 36.61 kB / 1.256 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/1.214, allocations: 0.5529 MB / 1.257 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.224e-06/1.214, allocations: 0 / 1.257 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003749/1.217, allocations: 1.376 MB / 1.258 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.217, allocations: 192.9 kB / 1.258 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/1.218, allocations: 0.641 MB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.456e-05/1.218, allocations: 41.7 kB / 1.259 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/1.219, allocations: 428.2 kB / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/1.219, allocations: 264.1 kB / 1.259 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/1.219, allocations: 178.5 kB / 1.26 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001968/1.219, allocations: 382.8 kB / 1.26 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007197/1.22, allocations: 325.8 kB / 1.26 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008348/1.221, allocations: 415.1 kB / 1.261 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/1.223, allocations: 0.714 MB / 1.261 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.223, allocations: 0 / 1.261 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002363/1.225, allocations: 0.9734 MB / 1.262 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/1.225, allocations: 4 kB / 1.262 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.225, allocations: 3.938 kB / 1.262 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005512/1.226, allocations: 80.88 kB / 1.262 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007841/1.226, allocations: 195.7 kB / 1.263 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/1.229, allocations: 1.636 MB / 1.264 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/1.23, allocations: 107.3 kB / 1.264 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/1.23, allocations: 44.03 kB / 1.264 GB, free: 8.492 MB / 0.9981 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.0005191/1.23, allocations: 271.4 kB / 1.265 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/1.23, allocations: 82.97 kB / 1.265 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/1.233, allocations: 1.206 MB / 1.266 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/1.233, allocations: 8 kB / 1.266 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.233, allocations: 0 / 1.266 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.233, allocations: 3.984 kB / 1.266 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/1.237, allocations: 2.149 MB / 1.268 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/1.237, allocations: 0 / 1.268 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/1.238, allocations: 175.8 kB / 1.268 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/1.238, allocations: 68.8 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/1.238, allocations: 27.97 kB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/1.24, allocations: 1.658 MB / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.24, allocations: 0 / 1.27 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/1.242, allocations: 1.123 MB / 1.271 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/1.243, allocations: 275.7 kB / 1.271 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/1.243, allocations: 24 kB / 1.271 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007269/1.244, allocations: 79.91 kB / 1.271 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.244, allocations: 76.98 kB / 1.271 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.038e-05/1.244, allocations: 43.95 kB / 1.271 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006468/1.245, allocations: 467 kB / 1.272 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/1.245, allocations: 0 / 1.272 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001008/1.246, allocations: 335 kB / 1.272 GB, free: 196 kB / 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.001418/1.247, allocations: 0.6054 MB / 1.273 GB, free: 15.76 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002173/1.249, allocations: 0.9446 MB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.249, allocations: 4 kB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001141/1.25, allocations: 0.5859 MB / 1.274 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/1.252, allocations: 297.4 kB / 1.275 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004053/1.256, allocations: 1.889 MB / 1.276 GB, free: 12.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/1.256, allocations: 1.047 MB / 1.277 GB, free: 10.94 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008117/1.257, allocations: 278.8 kB / 1.278 GB, free: 10.66 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/1.257, allocations: 111.4 kB / 1.278 GB, free: 10.55 MB / 1.014 GB Notification: Performance of SimCode: time 2.7e-07/1.257, allocations: 0 / 1.278 GB, free: 10.55 MB / 1.014 GB Notification: Performance of Templates: time 0.0264/1.284, allocations: 15.63 MB / 1.293 GB, free: 11.09 MB / 1.029 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