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.001412/0.001412, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001604/0.001604, allocations: 208.2 kB / 22.99 MB, free: 4.984 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.318/3.318, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.002023/0.002023, allocations: 70.3 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3726, allocations: 176.1 MB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002142/0.3747, allocations: 0.707 MB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002672/0.3774, allocations: 1.548 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.3775, allocations: 0 / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.3775, allocations: 7.922 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.3777, allocations: 23.8 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.3783, allocations: 167.4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.3785, allocations: 115.8 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3786, allocations: 15.97 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.3788, allocations: 59.78 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.3789, allocations: 51.81 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3789, allocations: 8 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002494/0.3792, allocations: 123.9 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.003e-05/0.3792, allocations: 27.92 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.3793, allocations: 39.84 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.3797, allocations: 219.3 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3797, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3797, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3797, allocations: 0 / 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.000907/0.3806, allocations: 369.5 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.3806, allocations: 8.031 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.381, allocations: 24.88 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3811, allocations: 122.4 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.605e-05/0.3812, allocations: 63.97 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3812, allocations: 8.375 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.3814, allocations: 112.2 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.3814, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.3815, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3815, allocations: 4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3816, allocations: 39.97 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.3823, allocations: 448.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/0.3828, allocations: 135.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/0.3828, allocations: 46.66 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.3829, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002773/0.3831, allocations: 121.9 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3831, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003766/0.3835, allocations: 149.5 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.3836, allocations: 118.7 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3837, allocations: 121.8 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3838, allocations: 29.7 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.3838, allocations: 96.36 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3839, allocations: 27.75 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.3839, allocations: 37.69 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3841, allocations: 322.8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-05/0.3842, allocations: 31.98 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.573e-05/0.3843, allocations: 39.97 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3845, allocations: 82.17 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3845, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002668/0.3848, allocations: 132.2 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3848, allocations: 8 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3848, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.3848, allocations: 3.984 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3849, allocations: 19.98 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.385, allocations: 0 / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.781e-05/0.385, allocations: 15.89 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3851, allocations: 4 kB / 1.333 GB, free: 11 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.0001353/0.3852, allocations: 131 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.3852, allocations: 15.89 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.3855, allocations: 102 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3855, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.158e-05/0.3855, allocations: 7.984 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3855, allocations: 3.938 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3858, allocations: 153.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3858, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.3859, allocations: 27.98 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3859, allocations: 3.938 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3859, allocations: 4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3859, allocations: 3.938 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3859, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.3862, allocations: 179.2 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.3862, allocations: 23.86 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3863, allocations: 12 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.131e-05/0.3863, allocations: 7.984 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.3864, allocations: 11.98 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.3864, allocations: 8 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.348e-05/0.3865, allocations: 102.8 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3865, allocations: 0 / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003462/0.3868, allocations: 71.73 kB / 1.334 GB, free: 10.07 MB / 1.029 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.0003056/0.3871, allocations: 178.8 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002754/0.3874, allocations: 83.97 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3874, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.3875, allocations: 51.86 kB / 1.334 GB, free: 9.754 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.3878, allocations: 21.19 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005958/0.3884, allocations: 233.5 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.3885, allocations: 85.31 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.455e-05/0.3885, allocations: 20.34 kB / 1.334 GB, free: 9.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.3886, allocations: 15.44 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.3886, allocations: 0 / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of Templates: time 0.00623/0.3948, allocations: 2.054 MB / 1.336 GB, free: 7.293 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 -s cvode -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.404068331001326]