Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.001749/0.001749, allocations: 106 kB / 18.84 MB, free: 3.023 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.001723/0.001723, allocations: 191.9 kB / 22.1 MB, free: 4.227 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.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 2.91 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.85/2.85, allocations: 495.8 MB / 0.7831 GB, free: 12.28 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient")
translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.137 GB, free: 12.25 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.039, allocations: 173.6 MB / 1.307 GB, free: 33.87 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005837/1.045, allocations: 5.443 MB / 1.312 GB, free: 29.99 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.1837/1.229, allocations: 149.8 MB / 1.458 GB, free: 1.578 MB / 1.139 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/1.23, allocations: 24.03 kB / 1.458 GB, free: 1.566 MB / 1.139 GB
Notification: Performance of NFTyping.typeComponents: time 0.001064/1.231, allocations: 215.9 kB / 1.459 GB, free: 1.418 MB / 1.139 GB
Notification: Performance of NFTyping.typeBindings: time 0.0027/1.234, allocations: 0.5827 MB / 1.459 GB, free: 1.059 MB / 1.139 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003146/1.237, allocations: 0.9591 MB / 1.46 GB, free: 0.5352 MB / 1.139 GB
Notification: Performance of NFFlatten.flatten: time 0.003451/1.24, allocations: 1.628 MB / 1.462 GB, free: 15.7 MB / 1.154 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001556/1.242, allocations: 0.5124 MB / 1.462 GB, free: 15.37 MB / 1.154 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001775/1.244, allocations: 0.6039 MB / 1.463 GB, free: 15.08 MB / 1.154 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001857/1.245, allocations: 0.6541 MB / 1.463 GB, free: 14.75 MB / 1.154 GB
Notification: Performance of NFPackage.collectConstants: time 0.0006964/1.246, allocations: 141.7 kB / 1.464 GB, free: 14.75 MB / 1.154 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002162/1.248, allocations: 0.52 MB / 1.464 GB, free: 14.62 MB / 1.154 GB
Notification: Performance of NFScalarize.scalarize: time 0.0009107/1.249, allocations: 359.4 kB / 1.464 GB, free: 14.39 MB / 1.154 GB
Notification: Performance of NFVerifyModel.verify: time 0.00137/1.251, allocations: 0.6726 MB / 1.465 GB, free: 13.95 MB / 1.154 GB
Notification: Performance of NFConvertDAE.convert: time 0.004325/1.255, allocations: 1.911 MB / 1.467 GB, free: 13.14 MB / 1.154 GB
Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/1.255, allocations: 4.781 kB / 1.467 GB, free: 13.13 MB / 1.154 GB
Notification: Performance of FrontEnd: time 2.464e-06/1.255, allocations: 0 / 1.467 GB, free: 13.13 MB / 1.154 GB
Notification: Performance of Transformations before backend: time 6.116e-05/1.255, allocations: 0 / 1.467 GB, free: 13.13 MB / 1.154 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 279
 * Number of variables: 279
Notification: Performance of Generate backend data structure: time 0.005113/1.26, allocations: 1.639 MB / 1.469 GB, free: 11.93 MB / 1.154 GB
Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.26, allocations: 8.344 kB / 1.469 GB, free: 11.93 MB / 1.154 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005725/1.266, allocations: 0.7579 MB / 1.469 GB, free: 11.59 MB / 1.154 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/1.268, allocations: 0.7643 MB / 1.47 GB, free: 10.99 MB / 1.154 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/1.268, allocations: 86.86 kB / 1.47 GB, free: 10.95 MB / 1.154 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/1.268, allocations: 111.8 kB / 1.47 GB, free: 10.91 MB / 1.154 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/1.272, allocations: 1.436 MB / 1.472 GB, free: 10.01 MB / 1.154 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.272, allocations: 5.078 kB / 1.472 GB, free: 10 MB / 1.154 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/1.273, allocations: 41.81 kB / 1.472 GB, free: 9.973 MB / 1.154 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/1.273, allocations: 27.28 kB / 1.472 GB, free: 9.973 MB / 1.154 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005439/1.278, allocations: 1.893 MB / 1.474 GB, free: 9.074 MB / 1.154 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008498/1.286, allocations: 3.528 MB / 1.477 GB, free: 6.273 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003995/1.29, allocations: 1.219 MB / 1.478 GB, free: 5.672 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/1.292, allocations: 0.5523 MB / 1.479 GB, free: 5.387 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/1.293, allocations: 95.34 kB / 1.479 GB, free: 5.344 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/1.295, allocations: 0.8148 MB / 1.48 GB, free: 4.84 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=109): time 4.117e-06/1.295, allocations: 0 / 1.48 GB, free: 4.84 MB / 1.154 GB
Notification: Performance of matching and sorting (n=109): time 0.007215/1.302, allocations: 1.903 MB / 1.481 GB, free: 3.918 MB / 1.154 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/1.302, allocations: 200.4 kB / 1.482 GB, free: 3.691 MB / 1.154 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.304, allocations: 0.6497 MB / 1.482 GB, free: 3.312 MB / 1.154 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002371/1.304, allocations: 43.73 kB / 1.482 GB, free: 3.27 MB / 1.154 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004854/1.304, allocations: 443.9 kB / 1.483 GB, free: 2.883 MB / 1.154 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0004826/1.305, allocations: 376.2 kB / 1.483 GB, free: 2.555 MB / 1.154 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/1.305, allocations: 209.2 kB / 1.483 GB, free: 2.426 MB / 1.154 GB
Notification: Performance of setup shared object (initialization): time 0.0002859/1.306, allocations: 398.2 kB / 1.484 GB, free: 2.047 MB / 1.154 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/1.307, allocations: 0.5003 MB / 1.484 GB, free: 1.805 MB / 1.154 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.309, allocations: 0.6148 MB / 1.485 GB, free: 1.469 MB / 1.154 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003283/1.312, allocations: 1.086 MB / 1.486 GB, free: 0.9062 MB / 1.154 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.312, allocations: 4 kB / 1.486 GB, free: 0.9023 MB / 1.154 GB
Notification: Performance of matching and sorting (n=126) (initialization): time 0.004484/1.317, allocations: 1.373 MB / 1.487 GB, free: 15.52 MB / 1.17 GB
Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/1.317, allocations: 11.94 kB / 1.487 GB, free: 15.51 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.317, allocations: 128 / 1.487 GB, free: 15.51 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006326/1.318, allocations: 80.78 kB / 1.487 GB, free: 15.43 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/1.319, allocations: 275.6 kB / 1.488 GB, free: 15.16 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/1.322, allocations: 1.527 MB / 1.489 GB, free: 13.51 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/1.323, allocations: 171.4 kB / 1.489 GB, free: 13.34 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/1.323, allocations: 43.97 kB / 1.489 GB, free: 13.3 MB / 1.17 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * 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 (124):
 * Single equations (assignments): 123
 * 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.0007417/1.324, allocations: 291.4 kB / 1.489 GB, free: 13.01 MB / 1.17 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/1.324, allocations: 99.33 kB / 1.49 GB, free: 12.91 MB / 1.17 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005078/1.329, allocations: 1.672 MB / 1.491 GB, free: 11.22 MB / 1.17 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/1.33, allocations: 12 kB / 1.491 GB, free: 11.21 MB / 1.17 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/1.33, allocations: 0 / 1.491 GB, free: 11.21 MB / 1.17 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.33, allocations: 7.969 kB / 1.491 GB, free: 11.2 MB / 1.17 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/1.336, allocations: 2.79 MB / 1.494 GB, free: 8.359 MB / 1.17 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.336, allocations: 4 kB / 1.494 GB, free: 8.355 MB / 1.17 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.338, allocations: 255.6 kB / 1.494 GB, free: 8.105 MB / 1.17 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004896/1.338, allocations: 72.78 kB / 1.494 GB, free: 8.031 MB / 1.17 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/1.338, allocations: 35.97 kB / 1.494 GB, free: 7.996 MB / 1.17 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002081/1.34, allocations: 1.559 MB / 1.496 GB, free: 6.309 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.34, allocations: 3.938 kB / 1.496 GB, free: 6.305 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/1.345, allocations: 1.537 MB / 1.497 GB, free: 4.75 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000831/1.346, allocations: 250.8 kB / 1.498 GB, free: 4.504 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/1.346, allocations: 20 kB / 1.498 GB, free: 4.484 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.348, allocations: 125.4 kB / 1.498 GB, free: 4.363 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/1.348, allocations: 92.77 kB / 1.498 GB, free: 4.27 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.348, allocations: 43.97 kB / 1.498 GB, free: 4.227 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.0007117/1.349, allocations: 471 kB / 1.498 GB, free: 3.77 MB / 1.17 GB
Notification: Performance of sort global known variables: time 1.11e-07/1.349, allocations: 0 / 1.498 GB, free: 3.77 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.001353/1.35, allocations: 411 kB / 1.499 GB, free: 3.367 MB / 1.17 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 (122):
 * Single equations (assignments): 116
 * 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.002093/1.352, allocations: 0.6261 MB / 1.499 GB, free: 2.914 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.004353/1.356, allocations: 1.339 MB / 1.501 GB, free: 1.566 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.356, allocations: 0 / 1.501 GB, free: 1.566 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.00217/1.359, allocations: 0.7616 MB / 1.501 GB, free: 0.793 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.36, allocations: 316.3 kB / 1.502 GB, free: 0.5078 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004821/1.365, allocations: 2.122 MB / 1.504 GB, free: 14.36 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/1.366, allocations: 1.093 MB / 1.505 GB, free: 13.23 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.001502/1.367, allocations: 339.7 kB / 1.505 GB, free: 12.9 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/1.368, allocations: 131.4 kB / 1.505 GB, free: 12.77 MB / 1.186 GB
Notification: Performance of SimCode: time 1.312e-06/1.368, allocations: 0 / 1.505 GB, free: 12.77 MB / 1.186 GB
Notification: Performance of Templates: time 0.03501/1.403, allocations: 19.21 MB / 1.524 GB, free: 9.77 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.142465361393988]