Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001739/0.001739, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002133/0.002133, allocations: 210.4 kB / 22.98 MB, free: 4.984 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 69.31 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3262, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007037/0.3333, allocations: 4.694 MB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.5041, allocations: 132.8 MB / 1.461 GB, free: 6.977 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008724/0.5049, allocations: 23.81 kB / 1.461 GB, free: 6.953 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.5057, allocations: 206.1 kB / 1.462 GB, free: 6.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.5077, allocations: 0.5898 MB / 1.462 GB, free: 6.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.51, allocations: 0.8918 MB / 1.463 GB, free: 5.273 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001995/0.512, allocations: 1.475 MB / 1.464 GB, free: 3.793 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000936/0.5129, allocations: 477.2 kB / 1.465 GB, free: 3.301 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009154/0.5139, allocations: 0.5411 MB / 1.465 GB, free: 2.758 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008432/0.5147, allocations: 0.5562 MB / 1.466 GB, free: 2.199 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002601/0.515, allocations: 128 kB / 1.466 GB, free: 2.074 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.5162, allocations: 0.5347 MB / 1.467 GB, free: 1.539 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003395/0.5165, allocations: 315 kB / 1.467 GB, free: 1.23 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005937/0.5171, allocations: 0.5054 MB / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002457/0.5196, allocations: 1.813 MB / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5196, allocations: 0 / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5196, allocations: 0 / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.987e-05/0.5196, allocations: 0 / 1.469 GB, free: 14.9 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002963/0.5226, allocations: 1.497 MB / 1.471 GB, free: 13.37 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5226, allocations: 11.97 kB / 1.471 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.5247, allocations: 275.9 kB / 1.471 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.5262, allocations: 0.726 MB / 1.472 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.5262, allocations: 78 kB / 1.472 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.5264, allocations: 88 kB / 1.472 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.5284, allocations: 1.279 MB / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.5284, allocations: 0 / 1.473 GB, free: 10.79 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-05/0.5285, allocations: 40 kB / 1.473 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.5286, allocations: 24 kB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.5306, allocations: 1.132 MB / 1.474 GB, free: 9.594 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.5348, allocations: 2.25 MB / 1.476 GB, free: 7.293 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001705/0.5366, allocations: 0.783 MB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000598/0.5372, allocations: 286.7 kB / 1.477 GB, free: 6.215 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/0.5377, allocations: 88.55 kB / 1.477 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.5387, allocations: 0.5999 MB / 1.478 GB, free: 5.488 MB / 1.17 GB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.5387, allocations: 0 / 1.478 GB, free: 5.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=82): time 0.003557/0.5423, allocations: 1.162 MB / 1.479 GB, free: 4.316 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.5424, allocations: 192.5 kB / 1.479 GB, free: 4.086 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.5432, allocations: 0.6095 MB / 1.48 GB, free: 3.469 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.5433, allocations: 49.64 kB / 1.48 GB, free: 3.414 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.5437, allocations: 437 kB / 1.48 GB, free: 2.98 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002501/0.5439, allocations: 281.7 kB / 1.481 GB, free: 2.703 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/0.5442, allocations: 162.6 kB / 1.481 GB, free: 2.539 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.5444, allocations: 382.8 kB / 1.481 GB, free: 2.156 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.545, allocations: 285.8 kB / 1.482 GB, free: 1.875 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007777/0.5458, allocations: 0.4918 MB / 1.482 GB, free: 1.34 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.547, allocations: 0.6268 MB / 1.483 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5471, allocations: 0 / 1.483 GB, free: 0.7031 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002187/0.5492, allocations: 0.8688 MB / 1.483 GB, free: 15.82 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5493, allocations: 11.94 kB / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.5493, allocations: 0 / 1.483 GB, free: 15.81 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.5499, allocations: 88.8 kB / 1.484 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.5507, allocations: 167.8 kB / 1.484 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.553, allocations: 1.504 MB / 1.485 GB, free: 13.95 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.5538, allocations: 87.61 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.5538, allocations: 40.05 kB / 1.485 GB, free: 13.82 MB / 1.186 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 (96): * Single equations (assignments): 95 * 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.0004566/0.5543, allocations: 283.3 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5545, allocations: 83.44 kB / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.5572, allocations: 1.093 MB / 1.487 GB, free: 12.34 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.5572, allocations: 11.94 kB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.5572, allocations: 0 / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.5572, allocations: 3.984 kB / 1.487 GB, free: 12.33 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/0.5607, allocations: 1.74 MB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.5607, allocations: 0 / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006735/0.5614, allocations: 147.8 kB / 1.489 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.5619, allocations: 76.78 kB / 1.489 GB, free: 10.32 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-05/0.5619, allocations: 23.98 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.5641, allocations: 1.524 MB / 1.49 GB, free: 8.668 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5641, allocations: 3.938 kB / 1.49 GB, free: 8.664 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.5663, allocations: 1.026 MB / 1.491 GB, free: 7.617 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004554/0.5668, allocations: 207.1 kB / 1.491 GB, free: 7.414 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.5669, allocations: 16 kB / 1.491 GB, free: 7.398 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/0.5677, allocations: 68 kB / 1.491 GB, free: 7.332 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.5678, allocations: 80.84 kB / 1.492 GB, free: 7.254 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-05/0.5679, allocations: 31.98 kB / 1.492 GB, free: 7.223 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0005767/0.5685, allocations: 447 kB / 1.492 GB, free: 6.793 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5685, allocations: 0 / 1.492 GB, free: 6.793 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009944/0.5695, allocations: 367 kB / 1.492 GB, free: 6.434 MB / 1.186 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 (93): * Single equations (assignments): 87 * 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.002156/0.5717, allocations: 0.6542 MB / 1.493 GB, free: 5.98 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.5735, allocations: 0.8235 MB / 1.494 GB, free: 5.145 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5735, allocations: 4 kB / 1.494 GB, free: 5.141 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5745, allocations: 0.5041 MB / 1.494 GB, free: 4.625 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.5758, allocations: 293.8 kB / 1.495 GB, free: 4.359 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003231/0.579, allocations: 1.77 MB / 1.496 GB, free: 2.559 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.5795, allocations: 463.1 kB / 1.497 GB, free: 2.078 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0007987/0.5803, allocations: 266.4 kB / 1.497 GB, free: 1.812 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.5806, allocations: 103.4 kB / 1.497 GB, free: 1.711 MB / 1.186 GB Notification: Performance of SimCode: time 7.41e-07/0.5806, allocations: 0 / 1.497 GB, free: 1.711 MB / 1.186 GB Notification: Performance of Templates: time 0.0293/0.6099, allocations: 17.07 MB / 1.514 GB, free: 0.9141 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.595465959006106]