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.0007621/0.0007621, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001076/0.001838, allocations: 440 kB / 10.41 MB, free: 284 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.0006882/0.0006882, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009532/0.001641, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9525/0.9525, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08918/1.042, 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 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.351/2.351, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2376/2.588, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8189 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.278e-06/1.08e-05, allocations: 4.422 kB / 0.8189 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001217/0.001228, allocations: 0.7668 MB / 0.8196 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.002581, allocations: 1.606 MB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.002622, allocations: 0 / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.002643, allocations: 7.875 kB / 0.8212 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-05/0.002702, allocations: 27.8 kB / 0.8212 GB, free: 104 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.00299, allocations: 155.3 kB / 0.8214 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.003121, allocations: 123.6 kB / 0.8215 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.729e-05/0.003188, allocations: 11.98 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.003343, allocations: 79.86 kB / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.003418, allocations: 43.88 kB / 0.8216 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.003438, allocations: 12 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.003617, allocations: 131.8 kB / 0.8218 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.003641, allocations: 19.92 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.003671, allocations: 27.94 kB / 0.8218 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.00387, allocations: 163.5 kB / 0.822 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.00388, allocations: 0 / 0.822 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003881, allocations: 0 / 0.822 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.003894, allocations: 0 / 0.822 GB, free: 15.35 MB / 0.8073 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.00048/0.004374, allocations: 371.8 kB / 0.8223 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.718e-05/0.004401, allocations: 11.97 kB / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.004631, allocations: 121.9 kB / 0.8225 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.00475, allocations: 133.5 kB / 0.8226 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.774e-05/0.004798, allocations: 63.97 kB / 0.8226 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.004813, allocations: 12.36 kB / 0.8227 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.004924, allocations: 102.4 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.004931, allocations: 192 / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.00494, allocations: 4.125 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.004946, allocations: 8 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.585e-05/0.004982, allocations: 19.97 kB / 0.8228 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/0.005293, allocations: 368.5 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.005535, allocations: 107.7 kB / 0.8232 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.005564, allocations: 34.66 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.005582, allocations: 4 kB / 0.8233 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.005705, allocations: 101.8 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.005706, allocations: 0 / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001402/0.005846, allocations: 81.78 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.00589, allocations: 114.7 kB / 0.8236 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.875e-05/0.005949, allocations: 122.6 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.005971, allocations: 33.7 kB / 0.8237 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.006007, allocations: 92.39 kB / 0.8238 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.00603, allocations: 35.86 kB / 0.8238 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.006071, allocations: 37.64 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.006141, allocations: 322.8 kB / 0.8242 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.006174, allocations: 19.92 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.006194, allocations: 14.45 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.432e-05/0.006249, allocations: 48.75 kB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.00625, allocations: 0 / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 7.782e-05/0.006328, allocations: 80.5 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.006339, allocations: 5.406 kB / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.006343, allocations: 0 / 0.8243 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.006353, allocations: 4 kB / 0.8243 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.006433, allocations: 31.97 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.006437, allocations: 4 kB / 0.8244 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.331e-05/0.00647, allocations: 7.938 kB / 0.8244 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.006478, allocations: 3.984 kB / 0.8244 GB, free: 12.62 MB / 0.8073 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.365e-05/0.006541, allocations: 120 kB / 0.8245 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.006555, allocations: 15.94 kB / 0.8245 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.006676, allocations: 94.19 kB / 0.8246 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.006679, allocations: 7.938 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006681, allocations: 0 / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.006685, allocations: 3.984 kB / 0.8246 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.182e-05/0.006767, allocations: 89.88 kB / 0.8247 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006769, allocations: 4 kB / 0.8247 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.812e-05/0.006817, allocations: 19.98 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.006848, allocations: 23.88 kB / 0.8247 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.006851, allocations: 7.922 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.006858, allocations: 4 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.006859, allocations: 0 / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00686, allocations: 4 kB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.00696, allocations: 118.8 kB / 0.8249 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.006977, allocations: 11.89 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.207e-05/0.007009, allocations: 7.984 kB / 0.8249 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.007039, allocations: 12.05 kB / 0.8249 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.007046, allocations: 8 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.948e-05/0.007066, allocations: 26.14 kB / 0.8249 GB, free: 12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007066, allocations: 0 / 0.8249 GB, free: 12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001742/0.00724, allocations: 75.73 kB / 0.825 GB, free: 11.93 MB / 0.8073 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.000167/0.007407, allocations: 164 kB / 0.8252 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.564e-05/0.007503, allocations: 60.77 kB / 0.8252 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.007507, allocations: 3.984 kB / 0.8252 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.007558, allocations: 48.7 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001015/0.00766, allocations: 31.97 kB / 0.8253 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.008547, allocations: 222.6 kB / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.008577, allocations: 63.34 kB / 0.8256 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.731e-05/0.008624, allocations: 23.91 kB / 0.8256 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.008684, allocations: 71.34 kB / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.008685, allocations: 0 / 0.8257 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of Templates: time 0.003219/0.0119, allocations: 2.204 MB / 0.8278 GB, free: 9.004 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled/Buildings_latest_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: 5.095647466368973]