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.001794/0.001794, allocations: 89.48 kB / 19.44 MB, free: 332 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.001961/0.001961, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.528/1.528, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.381/3.381, allocations: 429.5 MB / 0.6729 GB, free: 4 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.834e-06/1.834e-06, allocations: 0 / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.857e-05/3.041e-05, allocations: 9.859 kB / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01476/0.01479, allocations: 4.991 MB / 0.8823 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2341/0.2489, allocations: 146.3 MB / 1.025 GB, free: 14.83 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009689/0.2499, allocations: 23.81 kB / 1.025 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008359/0.2507, allocations: 210 kB / 1.025 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002051/0.2528, allocations: 0.5862 MB / 1.026 GB, free: 14.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.255, allocations: 0.8919 MB / 1.027 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002132/0.2571, allocations: 1.545 MB / 1.028 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.2582, allocations: 470.3 kB / 1.029 GB, free: 11.08 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001256/0.2594, allocations: 0.8031 MB / 1.03 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007272/0.2601, allocations: 450.7 kB / 1.03 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.2604, allocations: 136 kB / 1.03 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.2615, allocations: 0.5032 MB / 1.031 GB, free: 9.195 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003986/0.2619, allocations: 346.9 kB / 1.031 GB, free: 8.855 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.2624, allocations: 434.9 kB / 1.031 GB, free: 8.43 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002649/0.2651, allocations: 1.939 MB / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2651, allocations: 0 / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.183e-06/0.2651, allocations: 0 / 1.033 GB, free: 6.484 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.224e-05/0.2651, allocations: 0 / 1.033 GB, free: 6.484 MB / 0.9948 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.00325/0.2684, allocations: 1.702 MB / 1.035 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2684, allocations: 12.03 kB / 1.035 GB, free: 4.723 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00243/0.2708, allocations: 455.2 kB / 1.035 GB, free: 4.277 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.2725, allocations: 0.7551 MB / 1.036 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/0.2726, allocations: 82.11 kB / 1.036 GB, free: 3.414 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.2728, allocations: 108 kB / 1.036 GB, free: 3.309 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.2752, allocations: 1.368 MB / 1.038 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.761e-05/0.2752, allocations: 0 / 1.038 GB, free: 1.832 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.2753, allocations: 40 kB / 1.038 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.2754, allocations: 24 kB / 1.038 GB, free: 1.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.2778, allocations: 1.159 MB / 1.039 GB, free: 0.6094 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006207/0.284, allocations: 3.202 MB / 1.042 GB, free: 13.31 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/0.2868, allocations: 0.8358 MB / 1.043 GB, free: 12.46 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007376/0.2876, allocations: 318.5 kB / 1.043 GB, free: 12.15 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.959e-05/0.2877, allocations: 32.97 kB / 1.043 GB, free: 12.12 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/0.2889, allocations: 0.6785 MB / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of pre-optimization done (n=92): time 2.665e-06/0.2889, allocations: 0 / 1.044 GB, free: 11.39 MB / 1.01 GB Notification: Performance of matching and sorting (n=92): time 0.003944/0.2929, allocations: 1.23 MB / 1.045 GB, free: 10.16 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001623/0.293, allocations: 192.9 kB / 1.045 GB, free: 9.926 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.2942, allocations: 0.7573 MB / 1.046 GB, free: 9.152 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.2943, allocations: 53.69 kB / 1.046 GB, free: 9.094 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.2949, allocations: 0.5116 MB / 1.046 GB, free: 8.574 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.2952, allocations: 325.5 kB / 1.047 GB, free: 8.254 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000396/0.2956, allocations: 228.2 kB / 1.047 GB, free: 8.023 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004639/0.2961, allocations: 0.6211 MB / 1.048 GB, free: 7.391 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007705/0.2969, allocations: 289.9 kB / 1.048 GB, free: 7.105 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.2979, allocations: 0.5486 MB / 1.048 GB, free: 6.504 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.2994, allocations: 0.6631 MB / 1.049 GB, free: 5.82 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2994, allocations: 0 / 1.049 GB, free: 5.82 MB / 1.01 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002997/0.3024, allocations: 0.9692 MB / 1.05 GB, free: 4.844 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3025, allocations: 4 kB / 1.05 GB, free: 4.84 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3025, allocations: 0 / 1.05 GB, free: 4.84 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3035, allocations: 143.6 kB / 1.05 GB, free: 4.695 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009317/0.3044, allocations: 199.6 kB / 1.05 GB, free: 4.5 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/0.3073, allocations: 2.038 MB / 1.052 GB, free: 2.336 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.3082, allocations: 95.55 kB / 1.052 GB, free: 2.242 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.3083, allocations: 43.97 kB / 1.052 GB, free: 2.199 MB / 1.01 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.0005771/0.3089, allocations: 279.2 kB / 1.053 GB, free: 1.918 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003019/0.3092, allocations: 131.3 kB / 1.053 GB, free: 1.789 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.3122, allocations: 1.111 MB / 1.054 GB, free: 0.6641 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/0.3122, allocations: 12 kB / 1.054 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.3122, allocations: 0 / 1.054 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/0.3122, allocations: 3.984 kB / 1.054 GB, free: 0.6484 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3789/0.6911, allocations: 2.198 MB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6911, allocations: 4.125 kB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006526/0.6918, allocations: 164.6 kB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007343/0.6925, allocations: 129.5 kB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.6926, allocations: 25.97 kB / 1.056 GB, free: 218.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.6941, allocations: 2.049 MB / 1.058 GB, free: 217 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6941, allocations: 3.75 kB / 1.058 GB, free: 217 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/0.6962, allocations: 1.162 MB / 1.06 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.6966, allocations: 206 kB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.6968, allocations: 21.88 kB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.6974, allocations: 55.59 kB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.6976, allocations: 80.52 kB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.6976, allocations: 42.11 kB / 1.06 GB, free: 216.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004651/0.6981, allocations: 488.2 kB / 1.06 GB, free: 216.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6981, allocations: 0.5625 kB / 1.06 GB, free: 216.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008904/0.699, allocations: 375.2 kB / 1.061 GB, free: 216.3 MB / 1.01 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.003208/0.7022, allocations: 0.6711 MB / 1.061 GB, free: 216.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.7039, allocations: 0.9762 MB / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7039, allocations: 0 / 1.062 GB, free: 215.8 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009079/0.7048, allocations: 0.6327 MB / 1.063 GB, free: 215.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.706, allocations: 333.6 kB / 1.063 GB, free: 215.4 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.7088, allocations: 1.783 MB / 1.065 GB, free: 214.5 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.7092, allocations: 468.8 kB / 1.066 GB, free: 214.3 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.7099, allocations: 273.1 kB / 1.066 GB, free: 214.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.7102, allocations: 116 kB / 1.066 GB, free: 214.3 MB / 1.01 GB Notification: Performance of SimCode: time 8.32e-07/0.7102, allocations: 0.6562 kB / 1.066 GB, free: 214.3 MB / 1.01 GB Notification: Performance of Templates: time 0.02437/0.7345, allocations: 16.41 MB / 1.082 GB, free: 212.3 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 240] 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.80326024396345]