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.001131/0.001131, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002667, allocations: 449.7 kB / 10.37 MB, free: 328 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.001058/0.001058, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00131/0.002369, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 1.071/1.071, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08813/1.159, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.819/1.819, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5253/2.344, allocations: 123.3 MB / 0.728 GB, free: 5.797 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.423e-06/1.423e-06, allocations: 0 / 0.7293 GB, free: 4.531 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.976e-05/2.118e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002183/0.002205, allocations: 0.7574 MB / 0.73 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.004659, allocations: 1.607 MB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.004742, allocations: 0.7188 kB / 0.7316 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.739e-05/0.004779, allocations: 7.875 kB / 0.7316 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.626e-05/0.004875, allocations: 22.09 kB / 0.7316 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.005427, allocations: 160.9 kB / 0.7318 GB, free: 2.016 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.005616, allocations: 119.6 kB / 0.7319 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.005705, allocations: 12.77 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.005926, allocations: 88.48 kB / 0.732 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.006019, allocations: 35.89 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.644e-05/0.006045, allocations: 12.91 kB / 0.7321 GB, free: 1.754 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000316/0.006361, allocations: 131.8 kB / 0.7322 GB, free: 1.625 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.006397, allocations: 16.66 kB / 0.7322 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.001e-05/0.006437, allocations: 27.94 kB / 0.7322 GB, free: 1.582 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.006745, allocations: 164.9 kB / 0.7324 GB, free: 1.422 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.74e-05/0.006763, allocations: 0 / 0.7324 GB, free: 1.422 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.006764, allocations: 0 / 0.7324 GB, free: 1.422 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.929e-05/0.006783, allocations: 0 / 0.7324 GB, free: 1.422 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.0006221/0.007405, allocations: 365.9 kB / 0.7327 GB, free: 1.043 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.00744, allocations: 12.03 kB / 0.7327 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.007794, allocations: 122.9 kB / 0.7329 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.008014, allocations: 126.2 kB / 0.733 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.008088, allocations: 63.95 kB / 0.733 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.008104, allocations: 9 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.008246, allocations: 98.84 kB / 0.7331 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.008255, allocations: 4.125 kB / 0.7331 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.008267, allocations: 8.125 kB / 0.7332 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.008273, allocations: 0 / 0.7332 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.008325, allocations: 17.58 kB / 0.7332 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.008761, allocations: 372.5 kB / 0.7335 GB, free: 140 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.0091, allocations: 113.8 kB / 0.7336 GB, free: 0 / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.343e-05/0.009154, allocations: 28.41 kB / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.009177, allocations: 0 / 0.7337 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001559/0.009332, allocations: 109.7 kB / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.009334, allocations: 0 / 0.7338 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001834/0.009517, allocations: 83.02 kB / 0.7338 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.009579, allocations: 110.8 kB / 0.734 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.009667, allocations: 134.6 kB / 0.7341 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.009688, allocations: 26.36 kB / 0.7341 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.009734, allocations: 92.41 kB / 0.7342 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.009765, allocations: 36.8 kB / 0.7342 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.01e-05/0.009825, allocations: 37.69 kB / 0.7343 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.009915, allocations: 318.8 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.148e-05/0.009967, allocations: 12.88 kB / 0.7346 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.009997, allocations: 15.98 kB / 0.7346 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.01015, allocations: 45.95 kB / 0.7346 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.01016, allocations: 0 / 0.7346 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001244/0.01028, allocations: 91.11 kB / 0.7347 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.0103, allocations: 5.25 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.0103, allocations: 3.984 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01031, allocations: 4 kB / 0.7347 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.01043, allocations: 28.94 kB / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.01044, allocations: 0 / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.0105, allocations: 8.469 kB / 0.7348 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.01051, allocations: 4 kB / 0.7348 GB, free: 14.73 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 7.993e-05/0.01059, allocations: 118.9 kB / 0.7349 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.01061, allocations: 15.94 kB / 0.7349 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.01078, allocations: 88.02 kB / 0.735 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.01079, allocations: 4 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.01079, allocations: 3.938 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01079, allocations: 0.5625 kB / 0.735 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.01092, allocations: 102.6 kB / 0.7351 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.01092, allocations: 0 / 0.7351 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.831e-05/0.011, allocations: 16.75 kB / 0.7351 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.01105, allocations: 27.81 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01105, allocations: 5.781 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.01107, allocations: 8 kB / 0.7352 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.01107, allocations: 320 / 0.7352 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.01107, allocations: 3.984 kB / 0.7352 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.01121, allocations: 122.8 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.01124, allocations: 5.281 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.167e-05/0.01129, allocations: 8 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.01133, allocations: 11.97 kB / 0.7353 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.01134, allocations: 4.656 kB / 0.7353 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.01137, allocations: 32.08 kB / 0.7353 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.01137, allocations: 1.312 kB / 0.7353 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002874/0.01166, allocations: 63.75 kB / 0.7354 GB, free: 14.04 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.0002475/0.0119, allocations: 174.3 kB / 0.7356 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01204, allocations: 60.81 kB / 0.7356 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.01205, allocations: 3.938 kB / 0.7356 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.01211, allocations: 44.75 kB / 0.7357 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.01225, allocations: 24.42 kB / 0.7357 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.01357, allocations: 229.5 kB / 0.7359 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.503e-05/0.01361, allocations: 67.34 kB / 0.736 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.392e-05/0.01368, allocations: 13.14 kB / 0.736 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.01375, allocations: 64.72 kB / 0.736 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.01375, allocations: 0 / 0.736 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.005368/0.01912, allocations: 2.19 MB / 0.7382 GB, free: 11.28 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.051610327325761]