Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.002069/0.002069, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002624/0.002624, allocations: 188 kB / 22.1 MB, free: 5.156 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.514/1.514, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.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 3.449/3.449, allocations: 495.8 MB / 0.783 GB, free: 33.52 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.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled")
translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 62.22 kB / 1.137 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4402, allocations: 173.6 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002402/0.4426, allocations: 0.7419 MB / 1.307 GB, free: 1.141 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.002392/0.445, allocations: 1.532 MB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.4451, allocations: 0 / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 5.405e-05/0.4451, allocations: 11.86 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.4454, allocations: 19.86 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.4458, allocations: 155.4 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000199/0.446, allocations: 115.7 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.4462, allocations: 15.97 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.4463, allocations: 55.8 kB / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.4465, allocations: 51.81 kB / 1.309 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.4465, allocations: 12 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.4467, allocations: 107.9 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.4467, allocations: 19.98 kB / 1.309 GB, free: 15.04 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.4468, allocations: 43.8 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003338/0.4471, allocations: 199.3 kB / 1.31 GB, free: 14.8 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4472, allocations: 4 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.354e-06/0.4472, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.22e-05/0.4472, allocations: 0 / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0008234/0.448, allocations: 353.7 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.448, allocations: 12.91 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.4481, allocations: 8.891 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4483, allocations: 122.4 kB / 1.31 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.691e-05/0.4484, allocations: 34.27 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.4484, allocations: 12.38 kB / 1.31 GB, free: 14.2 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.4486, allocations: 104.3 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4486, allocations: 0 / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.4486, allocations: 0 / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.4486, allocations: 4 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4487, allocations: 47.91 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.4495, allocations: 0.4923 MB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.45, allocations: 131.7 kB / 1.311 GB, free: 13.34 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.4501, allocations: 42.66 kB / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.4501, allocations: 0 / 1.311 GB, free: 13.29 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002998/0.4504, allocations: 125.8 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.4504, allocations: 4 kB / 1.311 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.0003928/0.4508, allocations: 141.5 kB / 1.311 GB, free: 12.99 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/0.4509, allocations: 106.8 kB / 1.311 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.451, allocations: 129.7 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.451, allocations: 29.7 kB / 1.312 GB, free: 12.69 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.4511, allocations: 92.53 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.4512, allocations: 31.8 kB / 1.312 GB, free: 12.56 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.4512, allocations: 37.7 kB / 1.312 GB, free: 12.52 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001667/0.4514, allocations: 318.8 kB / 1.312 GB, free: 12.2 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.54e-05/0.4515, allocations: 43.86 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.285e-05/0.4516, allocations: 37.09 kB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.4517, allocations: 79.23 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4517, allocations: 0 / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002437/0.452, allocations: 129.6 kB / 1.312 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.452, allocations: 5.562 kB / 1.312 GB, free: 11.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.452, allocations: 3.984 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.452, allocations: 0 / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4522, allocations: 27.92 kB / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4522, allocations: 0 / 1.312 GB, free: 11.88 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.4522, allocations: 7.953 kB / 1.312 GB, free: 11.87 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.4523, allocations: 7.938 kB / 1.312 GB, free: 11.86 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (15):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.4524, allocations: 134.7 kB / 1.312 GB, free: 11.72 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.115e-05/0.4524, allocations: 11.95 kB / 1.312 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.4527, allocations: 114 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4527, allocations: 0 / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.4527, allocations: 4 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4527, allocations: 3.938 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.4529, allocations: 200.5 kB / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4529, allocations: 0 / 1.313 GB, free: 11.34 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.453, allocations: 27.92 kB / 1.313 GB, free: 11.31 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.453, allocations: 0 / 1.313 GB, free: 11.31 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.453, allocations: 4 kB / 1.313 GB, free: 11.31 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.453, allocations: 4.25 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.453, allocations: 4 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.4533, allocations: 182.6 kB / 1.313 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/0.4534, allocations: 27.89 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4534, allocations: 4 kB / 1.313 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.4535, allocations: 7.984 kB / 1.313 GB, free: 11.06 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.4536, allocations: 19.92 kB / 1.313 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.4536, allocations: 4 kB / 1.313 GB, free: 11.04 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.807e-05/0.4536, allocations: 101 kB / 1.313 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.4536, allocations: 0 / 1.313 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002994/0.4539, allocations: 59.8 kB / 1.313 GB, free: 10.88 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y)
 * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (16):
 * Single equations (assignments): 14
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002535/0.4542, allocations: 155 kB / 1.313 GB, free: 10.72 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002622/0.4545, allocations: 90.44 kB / 1.313 GB, free: 10.63 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4545, allocations: 0 / 1.313 GB, free: 10.63 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.4546, allocations: 51.91 kB / 1.313 GB, free: 10.58 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.4548, allocations: 8 kB / 1.313 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.4553, allocations: 241.3 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.4557, allocations: 0.704 MB / 1.314 GB, free: 9.574 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.651e-05/0.4557, allocations: 20.11 kB / 1.314 GB, free: 9.559 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.4558, allocations: 19.44 kB / 1.314 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of SimCode: time 2.7e-07/0.4558, allocations: 0 / 1.314 GB, free: 9.539 MB / 1.014 GB
Notification: Performance of Templates: time 0.0056/0.4614, allocations: 1.803 MB / 1.316 GB, free: 7.738 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.777576076798141]