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.0007799/0.0007799, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001897, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009878/0.0009878, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001095/0.002083, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9821/0.9821, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08485/1.067, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.865/1.865, allocations: 378.3 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5233/2.388, allocations: 123.3 MB / 0.7283 GB, free: 5.762 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0.5469 kB / 0.7296 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.889e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.484 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001594/0.001613, allocations: 0.7772 MB / 0.7304 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.003303, allocations: 1.608 MB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.00335, allocations: 1.375 kB / 0.7319 GB, free: 2.129 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.005046/0.008396, allocations: 11.86 kB / 0.732 GB, free: 2.117 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.908e-05/0.008485, allocations: 19.34 kB / 0.732 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.008887, allocations: 156.3 kB / 0.7321 GB, free: 1.961 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.009035, allocations: 125.5 kB / 0.7322 GB, free: 1.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 7.97e-05/0.009115, allocations: 8.906 kB / 0.7322 GB, free: 1.832 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.009306, allocations: 87.11 kB / 0.7323 GB, free: 1.75 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.009394, allocations: 40.62 kB / 0.7324 GB, free: 1.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.009415, allocations: 11.94 kB / 0.7324 GB, free: 1.699 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002163/0.009632, allocations: 133.2 kB / 0.7325 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.736e-05/0.009659, allocations: 15.94 kB / 0.7325 GB, free: 1.555 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.672e-05/0.009696, allocations: 31.92 kB / 0.7326 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.009938, allocations: 160 kB / 0.7327 GB, free: 1.367 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.273e-05/0.009951, allocations: 0 / 0.7327 GB, free: 1.367 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.122e-06/0.009952, allocations: 1.5 kB / 0.7327 GB, free: 1.367 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.335e-05/0.009965, allocations: 4 kB / 0.7327 GB, free: 1.363 MB / 0.698 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.0005418/0.01051, allocations: 364.9 kB / 0.7331 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.01054, allocations: 12.53 kB / 0.7331 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/0.01084, allocations: 118.5 kB / 0.7332 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.01098, allocations: 127.1 kB / 0.7333 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.01103, allocations: 63.97 kB / 0.7334 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.01105, allocations: 8.375 kB / 0.7334 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.01117, allocations: 100.9 kB / 0.7335 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.01118, allocations: 1.781 kB / 0.7335 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.01119, allocations: 8.109 kB / 0.7335 GB, free: 500 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.0112, allocations: 4 kB / 0.7335 GB, free: 496 kB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.368e-05/0.01124, allocations: 23.91 kB / 0.7335 GB, free: 472 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.01464, allocations: 366.6 kB / 0.7339 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.01494, allocations: 113.4 kB / 0.734 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.01497, allocations: 27.97 kB / 0.734 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.01499, allocations: 4 kB / 0.734 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.01517, allocations: 101.8 kB / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 2.165e-06/0.01517, allocations: 0 / 0.7341 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001597/0.01533, allocations: 90.19 kB / 0.7342 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.01537, allocations: 111.9 kB / 0.7343 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.668e-05/0.01544, allocations: 134.6 kB / 0.7344 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.01545, allocations: 25.7 kB / 0.7344 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.666e-05/0.01549, allocations: 101.2 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.01551, allocations: 31.69 kB / 0.7346 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.01555, allocations: 34.94 kB / 0.7346 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.626e-05/0.01563, allocations: 322.8 kB / 0.7349 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.437e-05/0.01567, allocations: 15.98 kB / 0.7349 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.01569, allocations: 9.25 kB / 0.7349 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.01575, allocations: 48.75 kB / 0.735 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.01575, allocations: 0 / 0.735 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.657e-05/0.01583, allocations: 82.48 kB / 0.7351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01585, allocations: 4.781 kB / 0.7351 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01585, allocations: 3.984 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.01587, allocations: 0.5312 kB / 0.7351 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.649e-05/0.01595, allocations: 29.09 kB / 0.7351 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.01596, allocations: 4 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.01599, allocations: 7.938 kB / 0.7351 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.016, allocations: 8.797 kB / 0.7351 GB, free: 14.67 MB / 0.7136 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 6.872e-05/0.01607, allocations: 116 kB / 0.7352 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.01609, allocations: 15.94 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.01625, allocations: 95.47 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01626, allocations: 4 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01626, allocations: 0.75 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01626, allocations: 0 / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.806e-05/0.01636, allocations: 103.7 kB / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.01636, allocations: 0 / 0.7354 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.01642, allocations: 19.98 kB / 0.7354 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.01645, allocations: 19.84 kB / 0.7355 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01645, allocations: 3.938 kB / 0.7355 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01647, allocations: 13.33 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.01647, allocations: 0 / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01647, allocations: 0 / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.01657, allocations: 128.7 kB / 0.7356 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.01659, allocations: 8.562 kB / 0.7356 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.523e-05/0.01662, allocations: 13.33 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.01665, allocations: 7.984 kB / 0.7356 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.01666, allocations: 4 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.139e-05/0.01668, allocations: 24.83 kB / 0.7357 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01668, allocations: 7.25 kB / 0.7357 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001798/0.01686, allocations: 67.73 kB / 0.7357 GB, free: 13.98 MB / 0.7136 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.0002566/0.01712, allocations: 160 kB / 0.7359 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.01724, allocations: 63.86 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.01725, allocations: 3.938 kB / 0.736 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.01731, allocations: 56.75 kB / 0.736 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.01745, allocations: 23.03 kB / 0.736 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009588/0.01841, allocations: 230.5 kB / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.568e-05/0.01845, allocations: 71.36 kB / 0.7363 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.02e-05/0.0185, allocations: 19.67 kB / 0.7363 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.388e-05/0.01856, allocations: 63.36 kB / 0.7364 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.01856, allocations: 3.938 kB / 0.7364 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.003854/0.02242, allocations: 2.198 MB / 0.7385 GB, free: 11.19 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.97187259607017]