Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00181/0.00181, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002559/0.002559, allocations: 206.4 kB / 22.24 MB, free: 5.262 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.822/2.822, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002129/0.002129, allocations: 70.7 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3206, allocations: 169.9 MB / 1.283 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008508/0.3291, allocations: 4.689 MB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1951/0.5242, allocations: 132.8 MB / 1.417 GB, free: 1.941 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.5256, allocations: 23.81 kB / 1.417 GB, free: 1.918 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.5268, allocations: 210.1 kB / 1.417 GB, free: 1.711 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.5297, allocations: 0.5818 MB / 1.418 GB, free: 1.129 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.5325, allocations: 0.8972 MB / 1.419 GB, free: 244 kB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.5349, allocations: 1.483 MB / 1.42 GB, free: 14.75 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009298/0.5358, allocations: 448.7 kB / 1.421 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.5368, allocations: 0.5489 MB / 1.421 GB, free: 13.73 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007576/0.5376, allocations: 0.4898 MB / 1.422 GB, free: 13.24 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.5378, allocations: 128 kB / 1.422 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.5391, allocations: 0.5152 MB / 1.422 GB, free: 12.6 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003407/0.5394, allocations: 331 kB / 1.423 GB, free: 12.28 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.54, allocations: 0.4937 MB / 1.423 GB, free: 11.78 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.5426, allocations: 1.817 MB / 1.425 GB, free: 9.957 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.5426, allocations: 0 / 1.425 GB, free: 9.957 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5426, allocations: 0 / 1.425 GB, free: 9.957 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.216e-05/0.5426, allocations: 0 / 1.425 GB, free: 9.957 MB / 1.123 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.003025/0.5456, allocations: 1.493 MB / 1.426 GB, free: 8.43 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5457, allocations: 12.03 kB / 1.426 GB, free: 8.418 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.5475, allocations: 271.9 kB / 1.427 GB, free: 8.152 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.549, allocations: 0.7454 MB / 1.427 GB, free: 7.379 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.549, allocations: 69.94 kB / 1.428 GB, free: 7.309 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.5492, allocations: 96 kB / 1.428 GB, free: 7.215 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.5513, allocations: 1.267 MB / 1.429 GB, free: 5.848 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/0.5513, allocations: 4 kB / 1.429 GB, free: 5.844 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.5514, allocations: 36 kB / 1.429 GB, free: 5.809 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.5515, allocations: 24 kB / 1.429 GB, free: 5.785 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.5536, allocations: 1.128 MB / 1.43 GB, free: 4.656 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004723/0.5584, allocations: 2.263 MB / 1.432 GB, free: 2.34 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.5602, allocations: 0.7791 MB / 1.433 GB, free: 1.551 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.5609, allocations: 286.7 kB / 1.433 GB, free: 1.27 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005241/0.5614, allocations: 84.55 kB / 1.433 GB, free: 1.188 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.5625, allocations: 0.6082 MB / 1.434 GB, free: 0.5352 MB / 1.123 GB Notification: Performance of pre-optimization done (n=82): time 2.866e-06/0.5625, allocations: 4 kB / 1.434 GB, free: 0.5312 MB / 1.123 GB Notification: Performance of matching and sorting (n=82): time 0.003653/0.5661, allocations: 1.154 MB / 1.435 GB, free: 15.37 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.5663, allocations: 196.5 kB / 1.435 GB, free: 15.13 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009154/0.5672, allocations: 0.6056 MB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.39e-05/0.5673, allocations: 41.7 kB / 1.436 GB, free: 14.47 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.5677, allocations: 437 kB / 1.436 GB, free: 14.04 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.568, allocations: 285.6 kB / 1.437 GB, free: 13.75 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.5683, allocations: 174.5 kB / 1.437 GB, free: 13.57 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002135/0.5685, allocations: 374.8 kB / 1.437 GB, free: 13.2 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.5691, allocations: 281.8 kB / 1.437 GB, free: 12.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.57, allocations: 0.4957 MB / 1.438 GB, free: 12.39 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.5713, allocations: 0.6268 MB / 1.438 GB, free: 11.75 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5713, allocations: 0 / 1.438 GB, free: 11.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002264/0.5735, allocations: 0.8726 MB / 1.439 GB, free: 10.87 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.5735, allocations: 7.938 kB / 1.439 GB, free: 10.86 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.5736, allocations: 7.984 kB / 1.439 GB, free: 10.85 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.5742, allocations: 84.8 kB / 1.439 GB, free: 10.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.5749, allocations: 167.8 kB / 1.44 GB, free: 10.6 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/0.5771, allocations: 1.492 MB / 1.441 GB, free: 8.996 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007833/0.5779, allocations: 102 kB / 1.441 GB, free: 8.898 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.575e-05/0.578, allocations: 35.98 kB / 1.441 GB, free: 8.863 MB / 1.139 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.0005392/0.5785, allocations: 279.3 kB / 1.441 GB, free: 8.582 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.5787, allocations: 87.44 kB / 1.442 GB, free: 8.496 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.5814, allocations: 1.093 MB / 1.443 GB, free: 7.391 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5814, allocations: 15.94 kB / 1.443 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.5814, allocations: 0 / 1.443 GB, free: 7.375 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5814, allocations: 3.984 kB / 1.443 GB, free: 7.371 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003716/0.5851, allocations: 1.743 MB / 1.444 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5851, allocations: 0 / 1.444 GB, free: 5.586 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/0.5858, allocations: 147.8 kB / 1.444 GB, free: 5.441 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004581/0.5862, allocations: 72.78 kB / 1.445 GB, free: 5.367 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.5863, allocations: 23.98 kB / 1.445 GB, free: 5.344 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.5884, allocations: 1.532 MB / 1.446 GB, free: 3.707 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.5884, allocations: 7.969 kB / 1.446 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.5908, allocations: 1.026 MB / 1.447 GB, free: 2.652 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/0.5914, allocations: 195.1 kB / 1.447 GB, free: 2.461 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.5916, allocations: 20 kB / 1.447 GB, free: 2.441 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.5923, allocations: 66.88 kB / 1.447 GB, free: 2.379 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.5925, allocations: 76.8 kB / 1.447 GB, free: 2.305 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/0.5926, allocations: 35.98 kB / 1.447 GB, free: 2.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006646/0.5932, allocations: 443 kB / 1.448 GB, free: 1.844 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5932, allocations: 0 / 1.448 GB, free: 1.844 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001189/0.5944, allocations: 370.9 kB / 1.448 GB, free: 1.48 MB / 1.139 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.002301/0.5967, allocations: 0.6492 MB / 1.449 GB, free: 1.027 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002176/0.5989, allocations: 0.8235 MB / 1.45 GB, free: 196 kB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5989, allocations: 0 / 1.45 GB, free: 196 kB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.6, allocations: 0.5003 MB / 1.45 GB, free: 15.68 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.6015, allocations: 302.8 kB / 1.45 GB, free: 15.41 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.6052, allocations: 1.766 MB / 1.452 GB, free: 13.61 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.6057, allocations: 465.4 kB / 1.453 GB, free: 13.12 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.000943/0.6066, allocations: 262.5 kB / 1.453 GB, free: 12.86 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002867/0.6069, allocations: 103.4 kB / 1.453 GB, free: 12.76 MB / 1.154 GB Notification: Performance of SimCode: time 1.352e-06/0.6069, allocations: 4 kB / 1.453 GB, free: 12.76 MB / 1.154 GB Notification: Performance of Templates: time 0.03186/0.6388, allocations: 16.83 MB / 1.469 GB, free: 12.21 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.922682976350188]