Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001806/0.001806, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002285/0.002285, allocations: 218.3 kB / 23 MB, free: 4.918 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.29/3.29, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002139/0.002139, allocations: 68.08 kB / 1.187 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3991, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002586/0.4017, allocations: 0.7214 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002695/0.4044, allocations: 1.549 MB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.055e-05/0.4045, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.193e-05/0.4045, allocations: 7.875 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.4047, allocations: 19.86 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.4054, allocations: 163.5 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.4056, allocations: 123.6 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4057, allocations: 16 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.4059, allocations: 47.89 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.4061, allocations: 43.83 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.4061, allocations: 12 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.4064, allocations: 115.9 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.4064, allocations: 31.89 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.4065, allocations: 35.86 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/0.4069, allocations: 231.1 kB / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4069, allocations: 0 / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4069, allocations: 0 / 1.368 GB, free: 10.5 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.4069, allocations: 4 kB / 1.368 GB, free: 10.49 MB / 1.061 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.0008334/0.4077, allocations: 353.7 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4078, allocations: 16.02 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.4081, allocations: 24.88 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.4083, allocations: 118.4 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.755e-05/0.4084, allocations: 63.97 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.4084, allocations: 8.359 kB / 1.368 GB, free: 9.855 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.4086, allocations: 106.9 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4086, allocations: 0 / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4086, allocations: 4 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4087, allocations: 0 / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.4088, allocations: 55.89 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.4095, allocations: 444.7 kB / 1.369 GB, free: 9.207 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005152/0.41, allocations: 135.7 kB / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.4101, allocations: 46.59 kB / 1.369 GB, free: 8.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.4101, allocations: 7.938 kB / 1.369 GB, free: 8.984 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/0.4104, allocations: 109.9 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.4104, allocations: 0 / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0003826/0.4108, allocations: 149.5 kB / 1.369 GB, free: 8.703 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.4108, allocations: 106.8 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.411, allocations: 133.8 kB / 1.369 GB, free: 8.434 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.411, allocations: 29.7 kB / 1.369 GB, free: 8.398 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.4111, allocations: 88.42 kB / 1.37 GB, free: 8.305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.4111, allocations: 35.8 kB / 1.37 GB, free: 8.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.4112, allocations: 33.7 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4113, allocations: 322.8 kB / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.4114, allocations: 35.98 kB / 1.37 GB, free: 7.871 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.936e-05/0.4115, allocations: 35.98 kB / 1.37 GB, free: 7.836 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.4117, allocations: 79.17 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4117, allocations: 4 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00027/0.412, allocations: 133.5 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.412, allocations: 4 kB / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.412, allocations: 0 / 1.37 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.412, allocations: 4 kB / 1.37 GB, free: 7.609 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.4121, allocations: 15.98 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4121, allocations: 3.938 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.564e-05/0.4122, allocations: 23.88 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.4123, allocations: 4 kB / 1.37 GB, free: 7.562 MB / 1.061 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.0001208/0.4124, allocations: 129.7 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.4124, allocations: 7.953 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.4127, allocations: 118.1 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4127, allocations: 4 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4127, allocations: 320 / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4127, allocations: 0 / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.4129, allocations: 161.2 kB / 1.371 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4129, allocations: 0 / 1.371 GB, free: 7.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.413, allocations: 19.98 kB / 1.371 GB, free: 7.078 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.413, allocations: 4 kB / 1.371 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.413, allocations: 4 kB / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.413, allocations: 0 / 1.371 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.413, allocations: 3.938 kB / 1.371 GB, free: 7.066 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.4133, allocations: 174.7 kB / 1.371 GB, free: 6.871 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.4134, allocations: 27.83 kB / 1.371 GB, free: 6.844 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.4134, allocations: 7.984 kB / 1.371 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.4135, allocations: 4 kB / 1.371 GB, free: 6.832 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.4135, allocations: 15.98 kB / 1.371 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.4136, allocations: 7.984 kB / 1.371 GB, free: 6.809 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.396e-05/0.4136, allocations: 103.3 kB / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4136, allocations: 0 / 1.371 GB, free: 6.707 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003299/0.414, allocations: 63.75 kB / 1.371 GB, free: 6.645 MB / 1.061 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.0003099/0.4143, allocations: 178.8 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.4145, allocations: 98.7 kB / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4145, allocations: 0 / 1.371 GB, free: 6.367 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.4147, allocations: 47.86 kB / 1.371 GB, free: 6.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.4149, allocations: 12 kB / 1.371 GB, free: 6.309 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.4155, allocations: 265 kB / 1.372 GB, free: 6.012 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.911e-05/0.4155, allocations: 85.33 kB / 1.372 GB, free: 5.906 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.4156, allocations: 23.42 kB / 1.372 GB, free: 5.883 MB / 1.061 GB Notification: Performance of SimCode: time 6.52e-07/0.4156, allocations: 3.938 kB / 1.372 GB, free: 5.879 MB / 1.061 GB Notification: Performance of Templates: time 0.004818/0.4204, allocations: 2.047 MB / 1.374 GB, free: 3.844 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.301573459059]