Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001707/0.001707, allocations: 96.42 kB / 19.7 MB, free: 2.129 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.001499/0.001499, allocations: 212.6 kB / 22.99 MB, free: 4.945 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.361/3.361, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] 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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [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.002052/0.002052, allocations: 67.31 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3937, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007499/0.4012, allocations: 4.69 MB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.181/0.5822, allocations: 132.7 MB / 1.461 GB, free: 7.012 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.5837, allocations: 23.81 kB / 1.461 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007303/0.5844, allocations: 214.1 kB / 1.461 GB, free: 6.777 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.5864, allocations: 0.576 MB / 1.462 GB, free: 6.199 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.5887, allocations: 0.8846 MB / 1.463 GB, free: 5.32 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.5905, allocations: 1.479 MB / 1.464 GB, free: 3.836 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.5915, allocations: 478.9 kB / 1.465 GB, free: 3.336 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008382/0.5924, allocations: 0.5489 MB / 1.465 GB, free: 2.785 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000716/0.5931, allocations: 0.5679 MB / 1.466 GB, free: 2.215 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001947/0.5933, allocations: 128 kB / 1.466 GB, free: 2.09 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.5945, allocations: 0.5114 MB / 1.467 GB, free: 1.578 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.5948, allocations: 327 kB / 1.467 GB, free: 1.258 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.5954, allocations: 0.4976 MB / 1.467 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002458/0.5978, allocations: 1.821 MB / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5978, allocations: 0 / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5978, allocations: 0 / 1.469 GB, free: 14.93 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.544e-05/0.5978, allocations: 0 / 1.469 GB, free: 14.93 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002995/0.6008, allocations: 1.497 MB / 1.471 GB, free: 13.4 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.6009, allocations: 8.031 kB / 1.471 GB, free: 13.39 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.6035, allocations: 367.8 kB / 1.471 GB, free: 13.03 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/0.6048, allocations: 0.7453 MB / 1.472 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.6049, allocations: 74 kB / 1.472 GB, free: 12.18 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6051, allocations: 88 kB / 1.472 GB, free: 12.1 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.6075, allocations: 1.325 MB / 1.473 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.6075, allocations: 0 / 1.473 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.6076, allocations: 47.94 kB / 1.473 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.6076, allocations: 24 kB / 1.473 GB, free: 10.61 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/0.6102, allocations: 1.218 MB / 1.474 GB, free: 9.383 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/0.6149, allocations: 2.253 MB / 1.477 GB, free: 7.082 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002694/0.6176, allocations: 0.8949 MB / 1.477 GB, free: 6.176 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.6184, allocations: 346.6 kB / 1.478 GB, free: 5.836 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.182e-05/0.6185, allocations: 24.58 kB / 1.478 GB, free: 5.812 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.6197, allocations: 0.661 MB / 1.478 GB, free: 5.113 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 3.587e-06/0.6197, allocations: 7.938 kB / 1.478 GB, free: 5.105 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.005009/0.6247, allocations: 1.309 MB / 1.48 GB, free: 3.785 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.6249, allocations: 192.9 kB / 1.48 GB, free: 3.555 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.6261, allocations: 0.6017 MB / 1.48 GB, free: 2.945 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.6262, allocations: 45.7 kB / 1.481 GB, free: 2.895 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005135/0.6267, allocations: 445 kB / 1.481 GB, free: 2.453 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.6269, allocations: 281.6 kB / 1.481 GB, free: 2.176 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/0.6272, allocations: 166.6 kB / 1.481 GB, free: 2.008 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6274, allocations: 386.8 kB / 1.482 GB, free: 1.621 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000787/0.6282, allocations: 325.8 kB / 1.482 GB, free: 1.301 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.6292, allocations: 0.5386 MB / 1.483 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.6308, allocations: 0.7101 MB / 1.483 GB, free: 0 / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6308, allocations: 0 / 1.483 GB, free: 0 / 1.17 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002574/0.6334, allocations: 0.974 MB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.6334, allocations: 5.719 kB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6334, allocations: 0 / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006806/0.6341, allocations: 84.86 kB / 1.484 GB, free: 14.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008715/0.6349, allocations: 191.7 kB / 1.485 GB, free: 14.74 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/0.6372, allocations: 1.492 MB / 1.486 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.6381, allocations: 115.7 kB / 1.486 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.106e-05/0.6382, allocations: 39.91 kB / 1.486 GB, free: 12.98 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 (98): * Single equations (assignments): 97 * 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.0005478/0.6388, allocations: 275.4 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.639, allocations: 87.47 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.6421, allocations: 1.202 MB / 1.488 GB, free: 11.4 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.6421, allocations: 12 kB / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.6421, allocations: 0 / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.6421, allocations: 7.969 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.6462, allocations: 1.871 MB / 1.489 GB, free: 9.465 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.6462, allocations: 4 kB / 1.489 GB, free: 9.461 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008195/0.647, allocations: 179.6 kB / 1.49 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/0.6475, allocations: 80.78 kB / 1.49 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/0.6476, allocations: 23.98 kB / 1.49 GB, free: 9.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.6497, allocations: 1.52 MB / 1.491 GB, free: 7.555 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.6497, allocations: 4.031 kB / 1.491 GB, free: 7.551 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.6524, allocations: 1.119 MB / 1.492 GB, free: 6.41 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005164/0.653, allocations: 199.1 kB / 1.493 GB, free: 6.215 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.6531, allocations: 20 kB / 1.493 GB, free: 6.195 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008237/0.6539, allocations: 87.97 kB / 1.493 GB, free: 6.109 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/0.6541, allocations: 80.94 kB / 1.493 GB, free: 6.031 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-05/0.6542, allocations: 39.95 kB / 1.493 GB, free: 5.992 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006059/0.6548, allocations: 435 kB / 1.493 GB, free: 5.574 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6548, allocations: 4 kB / 1.493 GB, free: 5.57 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001223/0.656, allocations: 367 kB / 1.494 GB, free: 5.211 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 (97): * Single equations (assignments): 91 * 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.002396/0.6584, allocations: 0.6382 MB / 1.494 GB, free: 4.777 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00247/0.6609, allocations: 0.9133 MB / 1.495 GB, free: 3.852 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6609, allocations: 4 kB / 1.495 GB, free: 3.848 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6621, allocations: 0.5432 MB / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.6634, allocations: 298.9 kB / 1.496 GB, free: 3.023 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.6675, allocations: 1.836 MB / 1.498 GB, free: 1.16 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005726/0.6681, allocations: 470 kB / 1.498 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001013/0.6691, allocations: 278.5 kB / 1.498 GB, free: 392 kB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.6694, allocations: 111.4 kB / 1.498 GB, free: 280 kB / 1.186 GB Notification: Performance of SimCode: time 1.373e-06/0.6694, allocations: 0 / 1.498 GB, free: 280 kB / 1.186 GB Notification: Performance of Templates: time 0.0304/0.6998, allocations: 17.22 MB / 1.515 GB, free: 15.31 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.168444281996926]