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.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.001361/0.001361, allocations: 109.1 kB / 19.71 MB, free: 2.137 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.00149/0.00149, allocations: 209.8 kB / 23 MB, free: 4.953 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.583/1.583, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.4 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.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: 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.002068/0.002068, allocations: 71.47 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3734, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002033/0.3754, allocations: 0.7031 MB / 1.328 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.3777, allocations: 1.548 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/0.3777, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.051e-05/0.3777, allocations: 7.938 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.3779, allocations: 27.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.3784, allocations: 164.6 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.3786, allocations: 119.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3787, allocations: 11.98 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001752/0.3788, allocations: 51.84 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.3789, allocations: 51.83 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.609e-05/0.379, allocations: 12 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.3792, allocations: 123.9 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.3792, allocations: 31.89 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.3793, allocations: 35.86 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003251/0.3796, allocations: 219.2 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3796, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3796, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.3796, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 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.0007929/0.3804, allocations: 371.1 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3805, allocations: 12.03 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.3808, allocations: 20.88 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3809, allocations: 126.4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.3811, allocations: 59.95 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.3811, allocations: 8.375 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3813, allocations: 100.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3813, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3813, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3813, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3814, allocations: 47.97 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.3821, allocations: 456.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.3826, allocations: 135.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.829e-05/0.3827, allocations: 38.66 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.3827, allocations: 4 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002762/0.383, allocations: 113.9 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.383, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003488/0.3833, allocations: 141.5 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.3834, allocations: 106.8 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3835, allocations: 129.8 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.3836, allocations: 33.83 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.3836, allocations: 96.31 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.3837, allocations: 35.8 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/0.3837, allocations: 37.7 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3839, allocations: 318.8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.384, allocations: 39.98 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.3841, allocations: 38.52 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3843, allocations: 76.78 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3843, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002598/0.3845, allocations: 127.3 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3845, allocations: 8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3845, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3846, allocations: 7.922 kB / 1.333 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.3847, allocations: 27.92 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3847, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.3848, allocations: 19.88 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3848, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 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.000119/0.3849, allocations: 126.7 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.385, allocations: 7.953 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.3852, allocations: 118 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3852, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3852, allocations: 4 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.3853, allocations: 23.86 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.3853, allocations: 8 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.3854, allocations: 7.938 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.3855, allocations: 19.91 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000401/0.3859, allocations: 379.7 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003943/0.3862, allocations: 457.2 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.387e-05/0.3863, allocations: 52 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.466e-05/0.3864, allocations: 102.3 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of Backend: time 2.61e-07/0.3864, allocations: 0 / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008255/0.3872, allocations: 196.9 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of SimCode: time 0.000687/0.3879, allocations: 0.6371 MB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of Templates: time 0.005803/0.3937, allocations: 2.148 MB / 1.337 GB, free: 6.652 MB / 1.029 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/jenkins1/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.407417667003756]