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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 84.73 kB / 19.44 MB, free: 348 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 161.7 kB / 22.75 MB, free: 1.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.251/3.251, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8776 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.734e-05, allocations: 2.844 kB / 0.8776 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008312/0.008339, allocations: 4.696 MB / 0.8822 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.2012/0.2095, allocations: 132.8 MB / 1.012 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.2105, allocations: 23.81 kB / 1.012 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.000905/0.2114, allocations: 214 kB / 1.012 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.2137, allocations: 0.5901 MB / 1.013 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.2165, allocations: 0.8842 MB / 1.014 GB, free: 9.699 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002657/0.2192, allocations: 1.553 MB / 1.015 GB, free: 8.137 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.2203, allocations: 462.3 kB / 1.015 GB, free: 7.656 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001613/0.2219, allocations: 0.8108 MB / 1.016 GB, free: 6.844 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009025/0.2228, allocations: 446.7 kB / 1.017 GB, free: 6.406 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0003126/0.2231, allocations: 136 kB / 1.017 GB, free: 6.273 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.2244, allocations: 0.5033 MB / 1.017 GB, free: 5.77 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004829/0.2249, allocations: 342.9 kB / 1.018 GB, free: 5.434 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0007863/0.2257, allocations: 434.9 kB / 1.018 GB, free: 5.008 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.2291, allocations: 1.943 MB / 1.02 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2291, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2291, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.407e-05/0.2292, allocations: 0 / 1.02 GB, free: 3.059 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.003983/0.2332, allocations: 1.509 MB / 1.021 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2332, allocations: 8.031 kB / 1.021 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/0.2363, allocations: 499.2 kB / 1.022 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.238, allocations: 0.7679 MB / 1.023 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-05/0.2381, allocations: 82.11 kB / 1.023 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.2382, allocations: 108 kB / 1.023 GB, free: 36 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3579/0.5961, allocations: 1.334 MB / 1.024 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/0.5962, allocations: 3.781 kB / 1.024 GB, free: 160.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/0.5963, allocations: 43.94 kB / 1.024 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.627e-05/0.5963, allocations: 24.19 kB / 1.024 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.5989, allocations: 1.23 MB / 1.025 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005006/0.6039, allocations: 2.419 MB / 1.028 GB, free: 158.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/0.6067, allocations: 0.9541 MB / 1.029 GB, free: 158.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008372/0.6076, allocations: 358.8 kB / 1.029 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.6076, allocations: 33.75 kB / 1.029 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00126/0.6089, allocations: 0.6752 MB / 1.03 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=92): time 2.786e-06/0.6089, allocations: 2.969 kB / 1.03 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=92): time 0.004315/0.6132, allocations: 1.374 MB / 1.031 GB, free: 157.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.6133, allocations: 199.9 kB / 1.031 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008228/0.6141, allocations: 0.6065 MB / 1.032 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.882e-05/0.6142, allocations: 50.11 kB / 1.032 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.6145, allocations: 437.3 kB / 1.032 GB, free: 156.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.6147, allocations: 309.6 kB / 1.033 GB, free: 156.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/0.615, allocations: 185.4 kB / 1.033 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6152, allocations: 390.4 kB / 1.033 GB, free: 156 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009253/0.6161, allocations: 350.5 kB / 1.033 GB, free: 155.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.6171, allocations: 0.567 MB / 1.034 GB, free: 155.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.6187, allocations: 0.7546 MB / 1.035 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6187, allocations: 0 / 1.035 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002678/0.6214, allocations: 1.074 MB / 1.036 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6214, allocations: 5.438 kB / 1.036 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6214, allocations: 1.219 kB / 1.036 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009745/0.6224, allocations: 138.7 kB / 1.036 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/0.6233, allocations: 195 kB / 1.036 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.6251, allocations: 1.499 MB / 1.038 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009607/0.6261, allocations: 116 kB / 1.038 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/0.6261, allocations: 45.55 kB / 1.038 GB, free: 153.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (111): * Single equations (assignments): 110 * 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.0004811/0.6266, allocations: 288 kB / 1.038 GB, free: 153.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/0.6268, allocations: 119.2 kB / 1.038 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.6298, allocations: 1.227 MB / 1.039 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.6298, allocations: 9.531 kB / 1.039 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.6298, allocations: 1.344 kB / 1.039 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.6298, allocations: 9.516 kB / 1.039 GB, free: 152.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004192/0.634, allocations: 2.09 MB / 1.041 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.634, allocations: 0 / 1.041 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008182/0.6348, allocations: 181.3 kB / 1.042 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/0.6356, allocations: 118.2 kB / 1.042 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.6357, allocations: 30.25 kB / 1.042 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.6372, allocations: 1.524 MB / 1.043 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6372, allocations: 8.453 kB / 1.043 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/0.64, allocations: 1.182 MB / 1.044 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004538/0.6405, allocations: 208.2 kB / 1.045 GB, free: 149.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6406, allocations: 25.31 kB / 1.045 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008299/0.6415, allocations: 86.89 kB / 1.045 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.6417, allocations: 78.11 kB / 1.045 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.742e-05/0.6417, allocations: 42.66 kB / 1.045 GB, free: 149.6 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005457/0.6423, allocations: 436 kB / 1.045 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.6423, allocations: 0 / 1.045 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001084/0.6434, allocations: 369.8 kB / 1.046 GB, free: 149.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0024/0.6458, allocations: 0.6685 MB / 1.046 GB, free: 149.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002456/0.6482, allocations: 0.9657 MB / 1.047 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.6482, allocations: 2.203 kB / 1.047 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001204/0.6494, allocations: 0.5625 MB / 1.048 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6508, allocations: 329.9 kB / 1.048 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.6543, allocations: 1.882 MB / 1.05 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.6549, allocations: 473.9 kB / 1.05 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009979/0.6559, allocations: 287.8 kB / 1.051 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003393/0.6562, allocations: 117.2 kB / 1.051 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.202e-06/0.6562, allocations: 0 / 1.051 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.02695/0.6832, allocations: 16.33 MB / 1.067 GB, free: 140.9 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.600494008976966]