Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001453/0.001453, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00225/0.00225, allocations: 214.3 kB / 22.25 MB, free: 5.082 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.913/2.913, allocations: 476.7 MB / 0.7706 GB, free: 4.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002145/0.002145, allocations: 67.47 kB / 1.118 GB, free: 40.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4229, allocations: 170 MB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002295/0.4252, allocations: 0.7396 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.4277, allocations: 1.628 MB / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.116e-05/0.4278, allocations: 0 / 1.286 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.4278, allocations: 11.81 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.428, allocations: 19.84 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000487/0.4285, allocations: 171.4 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.4287, allocations: 119.6 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.4288, allocations: 19.86 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002018/0.429, allocations: 59.83 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.4292, allocations: 47.83 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.4292, allocations: 8 kB / 1.287 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.4295, allocations: 127.9 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.4295, allocations: 27.92 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.96e-05/0.4296, allocations: 47.8 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.4299, allocations: 215.3 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4299, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4299, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.4299, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 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.0008079/0.4307, allocations: 357.7 kB / 1.287 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4308, allocations: 8.031 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003383/0.4311, allocations: 32.83 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4313, allocations: 118.5 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.4314, allocations: 63.95 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.4314, allocations: 12.31 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.4316, allocations: 99.61 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4316, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.4317, allocations: 7.984 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.4317, allocations: 4 kB / 1.288 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.4318, allocations: 43.92 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007789/0.4326, allocations: 0.4883 MB / 1.288 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.4331, allocations: 135.7 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.4331, allocations: 42.52 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.4332, allocations: 8.062 kB / 1.288 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.4335, allocations: 113.9 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.4335, allocations: 0 / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0003786/0.4338, allocations: 145.6 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.022e-05/0.4339, allocations: 118.9 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.4341, allocations: 121.8 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.4341, allocations: 29.7 kB / 1.289 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.4342, allocations: 92.38 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.4342, allocations: 31.73 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.4343, allocations: 37.7 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4344, allocations: 318.8 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.4345, allocations: 43.98 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.4346, allocations: 43.86 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001984/0.4348, allocations: 76.78 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4348, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002713/0.4351, allocations: 127.7 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.4351, allocations: 4 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.4351, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4351, allocations: 3.938 kB / 1.29 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.4352, allocations: 19.98 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4352, allocations: 4 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.61e-05/0.4353, allocations: 15.92 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.4354, allocations: 11.88 kB / 1.29 GB, free: 4.996 MB / 0.9825 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.0001183/0.4355, allocations: 121.8 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.4355, allocations: 7.953 kB / 1.29 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.4358, allocations: 117.9 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4358, allocations: 8 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4358, allocations: 0 / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4358, allocations: 0 / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.436, allocations: 196.5 kB / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.436, allocations: 0 / 1.29 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.4361, allocations: 20.22 kB / 1.29 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4361, allocations: 4 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.4361, allocations: 0 / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.4361, allocations: 3.938 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4361, allocations: 4 kB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/0.4364, allocations: 179 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.462e-05/0.4365, allocations: 23.88 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.4365, allocations: 11.98 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.4366, allocations: 4 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/0.4366, allocations: 19.92 kB / 1.29 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.4366, allocations: 7.984 kB / 1.29 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.887e-05/0.4367, allocations: 107.2 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4367, allocations: 0 / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003272/0.437, allocations: 63.75 kB / 1.29 GB, free: 4.031 MB / 0.9825 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.0002674/0.4373, allocations: 166.9 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000293/0.4376, allocations: 102.9 kB / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4376, allocations: 0 / 1.291 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4377, allocations: 47.92 kB / 1.291 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.438, allocations: 18.34 kB / 1.291 GB, free: 3.699 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.4385, allocations: 241.4 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.4389, allocations: 0.7001 MB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.166e-05/0.4389, allocations: 20.42 kB / 1.292 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.439, allocations: 15.44 kB / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.439, allocations: 0 / 1.292 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of Templates: time 0.006387/0.4454, allocations: 2.021 MB / 1.294 GB, free: 0.6523 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.768655471969396]