Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001869/0.001869, allocations: 81.5 kB / 19.44 MB, free: 344 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.001942/0.001942, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.419/3.419, allocations: 429.5 MB / 0.6729 GB, free: 4.043 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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.8774 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.061e-05/3.231e-05, allocations: 4.562 kB / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.009047/0.009079, allocations: 4.982 MB / 0.8823 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2068/0.2158, allocations: 146.4 MB / 1.025 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.2174, allocations: 19.81 kB / 1.025 GB, free: 14.78 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.2186, allocations: 210.1 kB / 1.025 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002895/0.2215, allocations: 0.594 MB / 1.026 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.2243, allocations: 0.8997 MB / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002373/0.2267, allocations: 1.549 MB / 1.028 GB, free: 11.51 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.2278, allocations: 456.6 kB / 1.029 GB, free: 11.05 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.2296, allocations: 0.8031 MB / 1.03 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009358/0.2305, allocations: 446.7 kB / 1.03 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.2307, allocations: 132 kB / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/0.2319, allocations: 0.5266 MB / 1.031 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003812/0.2323, allocations: 334.9 kB / 1.031 GB, free: 8.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005882/0.2329, allocations: 430.9 kB / 1.031 GB, free: 8.398 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.2357, allocations: 1.943 MB / 1.033 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2358, allocations: 0 / 1.033 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2358, allocations: 0 / 1.033 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.2358, allocations: 4 kB / 1.033 GB, free: 6.445 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003073/0.2388, allocations: 1.694 MB / 1.035 GB, free: 4.703 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2389, allocations: 8.031 kB / 1.035 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006826/0.2457, allocations: 1.038 MB / 1.036 GB, free: 3.656 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.2476, allocations: 0.7948 MB / 1.037 GB, free: 2.832 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.2477, allocations: 78.12 kB / 1.037 GB, free: 2.758 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/0.2479, allocations: 100 kB / 1.037 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.2522, allocations: 1.836 MB / 1.039 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.2523, allocations: 4 kB / 1.039 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.2524, allocations: 40 kB / 1.039 GB, free: 0.6641 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.2524, allocations: 24 kB / 1.039 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005808/0.2582, allocations: 2.014 MB / 1.041 GB, free: 14.63 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00991/0.2681, allocations: 5.124 MB / 1.046 GB, free: 8.777 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/0.2717, allocations: 1.243 MB / 1.047 GB, free: 7.527 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002391/0.2741, allocations: 0.7526 MB / 1.048 GB, free: 6.773 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.466e-05/0.2742, allocations: 28.97 kB / 1.048 GB, free: 6.746 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002969/0.2772, allocations: 1.155 MB / 1.049 GB, free: 5.543 MB / 1.01 GB Notification: Performance of pre-optimization done (n=90): time 2.775e-06/0.2772, allocations: 0 / 1.049 GB, free: 5.543 MB / 1.01 GB Notification: Performance of matching and sorting (n=90): time 0.008897/0.2861, allocations: 2.389 MB / 1.051 GB, free: 3.148 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.2863, allocations: 204.9 kB / 1.051 GB, free: 2.902 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.2875, allocations: 0.7613 MB / 1.052 GB, free: 2.125 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.2876, allocations: 49.7 kB / 1.052 GB, free: 2.07 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000698/0.2883, allocations: 0.5077 MB / 1.053 GB, free: 1.555 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.2887, allocations: 321.5 kB / 1.053 GB, free: 1.238 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004464/0.2891, allocations: 232.2 kB / 1.053 GB, free: 1.004 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000426/0.2896, allocations: 0.6172 MB / 1.054 GB, free: 384 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3863/0.6759, allocations: 0.7179 MB / 1.055 GB, free: 219.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.6782, allocations: 0.9885 MB / 1.056 GB, free: 219.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003612/0.6818, allocations: 1.235 MB / 1.057 GB, free: 219.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.6818, allocations: 0 / 1.057 GB, free: 219.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004902/0.6868, allocations: 1.689 MB / 1.058 GB, free: 219 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.6868, allocations: 5.625 kB / 1.058 GB, free: 219 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.6868, allocations: 0 / 1.058 GB, free: 219 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009303/0.6877, allocations: 137.9 kB / 1.059 GB, free: 219 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.6892, allocations: 297.5 kB / 1.059 GB, free: 219 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.6911, allocations: 2.03 MB / 1.061 GB, free: 217.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.6926, allocations: 184.5 kB / 1.061 GB, free: 217.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6927, allocations: 43.36 kB / 1.061 GB, free: 217.1 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 (109): * Single equations (assignments): 108 * 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.0005498/0.6932, allocations: 297 kB / 1.061 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/0.6935, allocations: 116.9 kB / 1.061 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005273/0.6988, allocations: 1.89 MB / 1.063 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.6988, allocations: 8.156 kB / 1.063 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.6988, allocations: 2.625 kB / 1.063 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.6988, allocations: 7.266 kB / 1.063 GB, free: 216.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/0.7058, allocations: 3.739 MB / 1.067 GB, free: 214.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.7058, allocations: 0 / 1.067 GB, free: 214.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001323/0.7071, allocations: 259 kB / 1.067 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006925/0.7078, allocations: 125.4 kB / 1.067 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/0.7079, allocations: 30.58 kB / 1.067 GB, free: 214.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001692/0.7096, allocations: 2.067 MB / 1.069 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.7096, allocations: 7.969 kB / 1.069 GB, free: 212.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004951/0.7145, allocations: 1.879 MB / 1.071 GB, free: 211.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.715, allocations: 234.3 kB / 1.071 GB, free: 211.6 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.7152, allocations: 25.42 kB / 1.071 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7164, allocations: 144.8 kB / 1.072 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.7166, allocations: 83.55 kB / 1.072 GB, free: 211.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.633e-05/0.7167, allocations: 43.34 kB / 1.072 GB, free: 211.5 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005268/0.7172, allocations: 490.3 kB / 1.072 GB, free: 211.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 1e-07/0.7172, allocations: 0 / 1.072 GB, free: 211.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00108/0.7183, allocations: 394.5 kB / 1.073 GB, free: 211.2 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 (100): * Single equations (assignments): 89 * 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.003202/0.7215, allocations: 0.6563 MB / 1.073 GB, free: 211 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004689/0.7261, allocations: 1.862 MB / 1.075 GB, free: 210.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.7262, allocations: 3.391 kB / 1.075 GB, free: 210.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.7286, allocations: 1.071 MB / 1.076 GB, free: 210.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.7299, allocations: 345.1 kB / 1.076 GB, free: 210.1 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.7341, allocations: 2.202 MB / 1.079 GB, free: 209.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.7345, allocations: 464.3 kB / 1.079 GB, free: 208.9 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009535/0.7354, allocations: 298.3 kB / 1.079 GB, free: 208.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004112/0.7358, allocations: 117.5 kB / 1.079 GB, free: 208.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.192e-06/0.7358, allocations: 0.9844 kB / 1.079 GB, free: 208.8 MB / 1.01 GB Notification: Performance of Templates: time 0.03682/0.7727, allocations: 18.56 MB / 1.097 GB, free: 206.6 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.945232419064268]