Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 116.4 kB / 17.08 MB, free: 5.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001362, allocations: 193.2 kB / 20.03 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.009/3.009, allocations: 489.2 MB / 0.7687 GB, free: 3.941 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9368/0.9388, allocations: 163.8 MB / 1.263 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006682/0.9455, allocations: 5.174 MB / 1.268 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2039/1.15, allocations: 150.7 MB / 1.415 GB, free: 4.758 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/1.151, allocations: 15.5 kB / 1.415 GB, free: 4.754 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007236/1.152, allocations: 208.4 kB / 1.415 GB, free: 4.57 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002317/1.154, allocations: 0.5546 MB / 1.415 GB, free: 4.152 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/1.157, allocations: 0.8544 MB / 1.416 GB, free: 3.504 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002158/1.159, allocations: 1.472 MB / 1.418 GB, free: 2.586 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/1.16, allocations: 0.6619 MB / 1.418 GB, free: 2.176 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009848/1.161, allocations: 0.52 MB / 1.419 GB, free: 1.859 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008237/1.162, allocations: 0.549 MB / 1.419 GB, free: 1.469 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000203/1.162, allocations: 128 kB / 1.42 GB, free: 1.469 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/1.163, allocations: 500 kB / 1.42 GB, free: 1.285 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003409/1.163, allocations: 324.8 kB / 1.42 GB, free: 1.027 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0006422/1.164, allocations: 0.6082 MB / 1.421 GB, free: 0.582 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002503/1.167, allocations: 1.766 MB / 1.423 GB, free: 15.3 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.167, allocations: 4 kB / 1.423 GB, free: 15.3 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.633e-06/1.167, allocations: 0 / 1.423 GB, free: 15.3 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.367e-05/1.167, allocations: 1.344 kB / 1.423 GB, free: 15.3 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003083/1.17, allocations: 1.537 MB / 1.424 GB, free: 14.09 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/1.17, allocations: 8.625 kB / 1.424 GB, free: 14.09 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/1.172, allocations: 310.3 kB / 1.424 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/1.173, allocations: 0.7977 MB / 1.425 GB, free: 13.29 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-05/1.174, allocations: 77.03 kB / 1.425 GB, free: 13.26 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/1.174, allocations: 94.58 kB / 1.425 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/1.176, allocations: 1.067 MB / 1.426 GB, free: 12.56 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.176, allocations: 1.094 kB / 1.426 GB, free: 12.56 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/1.176, allocations: 41.09 kB / 1.427 GB, free: 12.53 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/1.176, allocations: 28.47 kB / 1.427 GB, free: 12.53 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/1.179, allocations: 1.267 MB / 1.428 GB, free: 11.94 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005546/1.184, allocations: 3.063 MB / 1.431 GB, free: 9.469 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/1.187, allocations: 1.027 MB / 1.432 GB, free: 8.898 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008607/1.188, allocations: 365.4 kB / 1.432 GB, free: 8.723 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-05/1.188, allocations: 32.69 kB / 1.432 GB, free: 8.707 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/1.19, allocations: 0.5584 MB / 1.433 GB, free: 8.352 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 2.474e-06/1.19, allocations: 0 / 1.433 GB, free: 8.352 MB / 1.123 GB Notification: Performance of matching and sorting (n=84): time 0.00424/1.194, allocations: 1.39 MB / 1.434 GB, free: 7.621 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/1.194, allocations: 189.5 kB / 1.434 GB, free: 7.402 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.195, allocations: 0.6493 MB / 1.435 GB, free: 7.02 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/1.195, allocations: 42.58 kB / 1.435 GB, free: 6.977 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/1.196, allocations: 433.6 kB / 1.435 GB, free: 6.598 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/1.196, allocations: 288.1 kB / 1.436 GB, free: 6.348 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/1.196, allocations: 169.4 kB / 1.436 GB, free: 6.242 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002137/1.196, allocations: 389.9 kB / 1.436 GB, free: 5.871 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008175/1.197, allocations: 321.3 kB / 1.436 GB, free: 5.723 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009191/1.198, allocations: 424.9 kB / 1.437 GB, free: 5.375 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/1.2, allocations: 0.7101 MB / 1.438 GB, free: 4.652 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.2, allocations: 64 / 1.438 GB, free: 4.652 MB / 1.123 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00269/1.202, allocations: 0.9857 MB / 1.439 GB, free: 3.656 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.203, allocations: 7.938 kB / 1.439 GB, free: 3.648 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.203, allocations: 0 / 1.439 GB, free: 3.648 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006171/1.203, allocations: 84.86 kB / 1.439 GB, free: 3.562 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008263/1.204, allocations: 187.8 kB / 1.439 GB, free: 3.379 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/1.206, allocations: 1.638 MB / 1.44 GB, free: 1.594 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/1.207, allocations: 111.5 kB / 1.44 GB, free: 1.484 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/1.208, allocations: 39.97 kB / 1.441 GB, free: 1.445 MB / 1.123 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.0005522/1.208, allocations: 271.4 kB / 1.441 GB, free: 1.168 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002183/1.208, allocations: 91.44 kB / 1.441 GB, free: 1.078 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/1.211, allocations: 1.198 MB / 1.442 GB, free: 15.86 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.211, allocations: 12 kB / 1.442 GB, free: 15.85 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.211, allocations: 0 / 1.442 GB, free: 15.85 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.597e-05/1.211, allocations: 7.984 kB / 1.442 GB, free: 15.84 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004357/1.216, allocations: 2.137 MB / 1.444 GB, free: 13.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.216, allocations: 4 kB / 1.444 GB, free: 13.64 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007937/1.217, allocations: 183.7 kB / 1.444 GB, free: 13.46 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000465/1.217, allocations: 68.78 kB / 1.444 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/1.217, allocations: 23.98 kB / 1.444 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/1.219, allocations: 1.658 MB / 1.446 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.219, allocations: 0 / 1.446 GB, free: 11.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002933/1.222, allocations: 1.131 MB / 1.447 GB, free: 10.41 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005825/1.223, allocations: 284.1 kB / 1.447 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/1.223, allocations: 20 kB / 1.447 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008224/1.224, allocations: 83.91 kB / 1.448 GB, free: 10.02 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/1.224, allocations: 76.83 kB / 1.448 GB, free: 9.941 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/1.224, allocations: 35.98 kB / 1.448 GB, free: 9.906 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007322/1.225, allocations: 467 kB / 1.448 GB, free: 9.453 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.225, allocations: 0 / 1.448 GB, free: 9.453 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001218/1.226, allocations: 358.9 kB / 1.448 GB, free: 9.102 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 (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.002182/1.228, allocations: 0.6063 MB / 1.449 GB, free: 8.688 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002614/1.231, allocations: 0.9602 MB / 1.45 GB, free: 7.715 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.231, allocations: 0 / 1.45 GB, free: 7.715 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001285/1.232, allocations: 0.5783 MB / 1.45 GB, free: 7.125 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.234, allocations: 301.6 kB / 1.451 GB, free: 6.848 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/1.238, allocations: 1.859 MB / 1.453 GB, free: 4.957 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/1.238, allocations: 1.055 MB / 1.454 GB, free: 3.871 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004015/1.239, allocations: 127.4 kB / 1.454 GB, free: 3.746 MB / 1.139 GB Notification: Performance of SimCode: time 8.22e-07/1.239, allocations: 0 / 1.454 GB, free: 3.746 MB / 1.139 GB Notification: Performance of Templates: time 0.03062/1.269, allocations: 19.83 MB / 1.473 GB, free: 15.98 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time [Calling sys.exit(0), Time elapsed: 14.903464982053265]