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.001431/0.001431, allocations: 80.84 kB / 19.18 MB, free: 2.516 MB / 14.72 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.00171/0.00171, allocations: 167 kB / 22.46 MB, free: 5.375 MB / 14.72 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.46/1.46, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 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 2.961/2.961, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.884e-06/1.884e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/2.997e-05, allocations: 2.281 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007231/0.007261, allocations: 4.692 MB / 1.005 GB, free: 2.594 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.8383/0.8455, allocations: 132.8 MB / 1.134 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009042/0.8464, allocations: 24 kB / 1.134 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.847, allocations: 206.7 kB / 1.135 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001733/0.8488, allocations: 0.5979 MB / 1.135 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.8507, allocations: 0.9071 MB / 1.136 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001372/0.852, allocations: 1.543 MB / 1.138 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006611/0.8527, allocations: 457.8 kB / 1.138 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009486/0.8537, allocations: 0.8037 MB / 1.139 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.8542, allocations: 446.5 kB / 1.139 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.8544, allocations: 132.4 kB / 1.139 GB, free: 45.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.8555, allocations: 0.5242 MB / 1.14 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003021/0.8558, allocations: 339 kB / 1.14 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000439/0.8562, allocations: 430 kB / 1.141 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/0.8582, allocations: 1.938 MB / 1.143 GB, free: 44.99 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8582, allocations: 3.719 kB / 1.143 GB, free: 44.99 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8582, allocations: 0 / 1.143 GB, free: 44.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.8582, allocations: 0 / 1.143 GB, free: 44.99 MB / 1.076 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.002313/0.8605, allocations: 1.502 MB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.8606, allocations: 9.312 kB / 1.144 GB, free: 44.23 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.8718, allocations: 1.804 MB / 1.146 GB, free: 44.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001531/0.8733, allocations: 0.7724 MB / 1.147 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.8733, allocations: 80.52 kB / 1.147 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.8735, allocations: 101.8 kB / 1.147 GB, free: 43.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005852/0.8793, allocations: 2.151 MB / 1.149 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.8794, allocations: 2.688 kB / 1.149 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/0.8795, allocations: 43.09 kB / 1.149 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.8795, allocations: 22.69 kB / 1.149 GB, free: 43.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009655/0.8892, allocations: 2.753 MB / 1.152 GB, free: 43.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009281/0.8984, allocations: 4.705 MB / 1.156 GB, free: 40.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005522/0.904, allocations: 1.646 MB / 1.158 GB, free: 40.57 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004422/0.9084, allocations: 1.112 MB / 1.159 GB, free: 40.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.9085, allocations: 29.22 kB / 1.159 GB, free: 40.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004827/0.9133, allocations: 1.48 MB / 1.16 GB, free: 40.28 MB / 1.076 GB Notification: Performance of pre-optimization done (n=90): time 3.847e-06/0.9133, allocations: 0 / 1.16 GB, free: 40.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=90): time 0.01745/0.9307, allocations: 3.519 MB / 1.164 GB, free: 40.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.362e-05/0.9308, allocations: 202.4 kB / 1.164 GB, free: 39.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/0.9318, allocations: 0.6072 MB / 1.165 GB, free: 39.7 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.932, allocations: 47.8 kB / 1.165 GB, free: 39.67 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004107/0.9324, allocations: 446.9 kB / 1.165 GB, free: 39.45 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.9326, allocations: 298.6 kB / 1.165 GB, free: 39.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.933, allocations: 192.8 kB / 1.165 GB, free: 39.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9331, allocations: 385.4 kB / 1.166 GB, free: 38.92 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004785/0.9379, allocations: 1.106 MB / 1.167 GB, free: 38.88 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/0.9427, allocations: 1.334 MB / 1.168 GB, free: 38.64 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00881/0.9515, allocations: 2.034 MB / 1.17 GB, free: 38.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.9515, allocations: 1.188 kB / 1.17 GB, free: 38.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01064/0.9622, allocations: 2.444 MB / 1.173 GB, free: 38.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.9622, allocations: 9.031 kB / 1.173 GB, free: 38.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.9622, allocations: 2.031 kB / 1.173 GB, free: 38.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.9629, allocations: 80.53 kB / 1.173 GB, free: 38.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002845/0.9657, allocations: 0.4898 MB / 1.173 GB, free: 38.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.9676, allocations: 1.494 MB / 1.175 GB, free: 37.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/0.9707, allocations: 416.9 kB / 1.175 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.9708, allocations: 42.94 kB / 1.175 GB, free: 37.03 MB / 1.076 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.0007439/0.9716, allocations: 289.9 kB / 1.175 GB, free: 36.91 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002486/0.9718, allocations: 99.48 kB / 1.175 GB, free: 36.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01112/0.9829, allocations: 2.662 MB / 1.178 GB, free: 36.65 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.9829, allocations: 10 kB / 1.178 GB, free: 36.65 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9829, allocations: 0.6562 kB / 1.178 GB, free: 36.65 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/0.983, allocations: 10.08 kB / 1.178 GB, free: 36.65 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/0.996, allocations: 4.312 MB / 1.182 GB, free: 35.19 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/0.996, allocations: 2.906 kB / 1.182 GB, free: 35.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/0.9986, allocations: 480.8 kB / 1.183 GB, free: 35.17 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.9991, allocations: 77.64 kB / 1.183 GB, free: 35.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.9992, allocations: 28.36 kB / 1.183 GB, free: 35.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/1.001, allocations: 1.522 MB / 1.184 GB, free: 33.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.001, allocations: 0.8438 kB / 1.184 GB, free: 33.94 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.012, allocations: 2.553 MB / 1.187 GB, free: 33.65 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/1.013, allocations: 235 kB / 1.187 GB, free: 33.59 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/1.013, allocations: 29.17 kB / 1.187 GB, free: 33.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/1.016, allocations: 383.3 kB / 1.187 GB, free: 33.56 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.016, allocations: 75.78 kB / 1.187 GB, free: 33.56 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.016, allocations: 43.83 kB / 1.188 GB, free: 33.56 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006654/1.017, allocations: 437.2 kB / 1.188 GB, free: 33.46 MB / 1.076 GB Notification: Performance of sort global known variables: time 3.91e-07/1.017, allocations: 0 / 1.188 GB, free: 33.46 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001434/1.018, allocations: 389.7 kB / 1.188 GB, free: 33.4 MB / 1.076 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.002275/1.021, allocations: 0.6638 MB / 1.189 GB, free: 33.18 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.032, allocations: 2.492 MB / 1.191 GB, free: 32.98 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/1.032, allocations: 0 / 1.191 GB, free: 32.98 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005421/1.037, allocations: 1.331 MB / 1.193 GB, free: 32.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/1.039, allocations: 293.8 kB / 1.193 GB, free: 32.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/1.047, allocations: 2.592 MB / 1.196 GB, free: 32.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/1.048, allocations: 467.2 kB / 1.196 GB, free: 31.91 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001495/1.049, allocations: 315.2 kB / 1.196 GB, free: 31.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/1.05, allocations: 117.6 kB / 1.196 GB, free: 31.79 MB / 1.076 GB Notification: Performance of SimCode: time 1.513e-06/1.05, allocations: 1.062 kB / 1.196 GB, free: 31.79 MB / 1.076 GB Notification: Performance of Templates: time 0.0352/1.085, allocations: 18.4 MB / 1.214 GB, free: 29.76 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 800] 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: 10.348896265029907]