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.00165/0.00165, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002094/0.002094, allocations: 212.5 kB / 22.24 MB, free: 4.859 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.566/1.566, allocations: 230.6 MB / 256 MB, free: 7.984 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.343/3.343, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.00218/0.00218, allocations: 71.22 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3998, allocations: 176.1 MB / 1.325 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002136/0.4019, allocations: 0.7125 MB / 1.326 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.4043, allocations: 1.544 MB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.4044, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.538e-05/0.4044, allocations: 3.938 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.4046, allocations: 31.78 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000477/0.4051, allocations: 163.4 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.4052, allocations: 115.7 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.4053, allocations: 11.98 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.4055, allocations: 55.84 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.4056, allocations: 47.81 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.022e-05/0.4057, allocations: 12 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.4059, allocations: 115.9 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.4059, allocations: 27.91 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.427e-05/0.406, allocations: 39.86 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.4064, allocations: 227.2 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4064, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4064, allocations: 0 / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.4064, allocations: 0 / 1.329 GB, free: 14.8 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.0007756/0.4072, allocations: 357.6 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4072, allocations: 8.031 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.4076, allocations: 32.88 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.4077, allocations: 122.4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.4078, allocations: 71.95 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.4079, allocations: 4.375 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.4081, allocations: 96.36 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4081, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.4081, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4081, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.4082, allocations: 43.91 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.4089, allocations: 464.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.4094, allocations: 131.7 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.4095, allocations: 42.58 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.4095, allocations: 4.078 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.4098, allocations: 117.9 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.4098, allocations: 0 / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0004127/0.4102, allocations: 137.5 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.4103, allocations: 106.8 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.4105, allocations: 129.8 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.4105, allocations: 29.7 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4106, allocations: 92.44 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.4106, allocations: 35.73 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.54e-05/0.4107, allocations: 33.7 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4109, allocations: 326.8 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.411, allocations: 40.05 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.4111, allocations: 35.98 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.4113, allocations: 83.31 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4113, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002794/0.4115, allocations: 125.9 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4116, allocations: 8 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4116, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.4116, allocations: 8.125 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.4117, allocations: 23.92 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.4117, allocations: 0 / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.4118, allocations: 19.88 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4118, allocations: 11.98 kB / 1.331 GB, free: 11.86 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.0001285/0.412, allocations: 122.4 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.412, allocations: 11.95 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.4123, allocations: 110 kB / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4123, allocations: 0 / 1.331 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4123, allocations: 4 kB / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4123, allocations: 0 / 1.331 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.4125, allocations: 157.1 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4125, allocations: 3.984 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.824e-05/0.4126, allocations: 23.94 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.4126, allocations: 4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.4126, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.4126, allocations: 7.984 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4126, allocations: 0 / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.4129, allocations: 174.7 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.413, allocations: 23.86 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.413, allocations: 8 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.4131, allocations: 7.938 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.4131, allocations: 19.97 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.4132, allocations: 4 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.529e-05/0.4133, allocations: 99.77 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4133, allocations: 0 / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003389/0.4136, allocations: 67.75 kB / 1.332 GB, free: 10.95 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.0003402/0.4139, allocations: 179.6 kB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.4142, allocations: 98.08 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4142, allocations: 0 / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4143, allocations: 52.11 kB / 1.332 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.4146, allocations: 9.672 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.4151, allocations: 245.4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.4153, allocations: 81.33 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.785e-05/0.4153, allocations: 21.84 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.4154, allocations: 19.42 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.4154, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of Templates: time 0.006116/0.4215, allocations: 2.004 MB / 1.335 GB, free: 8.207 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/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.69804116897285]