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.0006943/0.0006943, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009246/0.001619, allocations: 435.8 kB / 10.33 MB, free: 368 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.0006805/0.0006805, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008071/0.001488, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9195/0.9195, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09221/1.012, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.36/2.36, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2516/2.612, allocations: 145.9 MB / 0.817 GB, free: 4.211 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.583e-06/1.583e-06, allocations: 0 / 0.8183 GB, free: 2.949 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.73e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001202/0.001219, allocations: 0.7688 MB / 0.819 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.002696, allocations: 1.614 MB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.002742, allocations: 0 / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.00277, allocations: 11.86 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-05/0.00283, allocations: 19.86 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.003111, allocations: 155.3 kB / 0.8208 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.003243, allocations: 123.6 kB / 0.8209 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.41e-05/0.003317, allocations: 15.98 kB / 0.8209 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.003474, allocations: 87.73 kB / 0.821 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.003552, allocations: 43.88 kB / 0.821 GB, free: 96 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.003575, allocations: 8 kB / 0.821 GB, free: 88 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.00377, allocations: 131.8 kB / 0.8212 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.211e-05/0.003792, allocations: 15.98 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.003825, allocations: 27.94 kB / 0.8212 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.00403, allocations: 159.5 kB / 0.8213 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.004043, allocations: 3.938 kB / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004044, allocations: 0 / 0.8214 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.004056, allocations: 4 kB / 0.8214 GB, free: 15.75 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.0004815/0.004537, allocations: 367.8 kB / 0.8217 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.004567, allocations: 8.031 kB / 0.8217 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.004795, allocations: 118 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.004913, allocations: 129.7 kB / 0.822 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.143e-05/0.004965, allocations: 63.97 kB / 0.822 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.004975, allocations: 8.375 kB / 0.822 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005099, allocations: 105.4 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.005106, allocations: 192 / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.005116, allocations: 4.125 kB / 0.8221 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.005122, allocations: 7.984 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.005167, allocations: 23.91 kB / 0.8222 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.005485, allocations: 364.6 kB / 0.8225 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.005737, allocations: 111.7 kB / 0.8226 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.005766, allocations: 30.66 kB / 0.8226 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.005789, allocations: 7.938 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002808/0.00607, allocations: 105.8 kB / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.006071, allocations: 0 / 0.8227 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0001526/0.006223, allocations: 85.53 kB / 0.8228 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.006271, allocations: 114.9 kB / 0.8229 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.945e-05/0.00633, allocations: 122.6 kB / 0.8231 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.006346, allocations: 33.7 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.006381, allocations: 92.39 kB / 0.8232 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.361e-05/0.006404, allocations: 31.73 kB / 0.8232 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.784e-05/0.006442, allocations: 33.64 kB / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.006522, allocations: 326.8 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.006559, allocations: 15.98 kB / 0.8236 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.006578, allocations: 8 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.006635, allocations: 54.94 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006637, allocations: 4 kB / 0.8236 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.085e-05/0.006718, allocations: 73.61 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.006728, allocations: 6.188 kB / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.006732, allocations: 0 / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.006739, allocations: 0 / 0.8237 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.239e-05/0.006821, allocations: 27.97 kB / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.706e-06/0.006824, allocations: 0 / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.006862, allocations: 15.94 kB / 0.8237 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.006869, allocations: 3.984 kB / 0.8237 GB, free: 13.04 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 5.82e-05/0.006928, allocations: 117.8 kB / 0.8239 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.00694, allocations: 15.94 kB / 0.8239 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.007068, allocations: 98.12 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.007071, allocations: 4 kB / 0.824 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.007073, allocations: 3.938 kB / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007076, allocations: 0 / 0.824 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.413e-05/0.00716, allocations: 93.86 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.007163, allocations: 4 kB / 0.8241 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.007212, allocations: 19.98 kB / 0.8241 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/0.007244, allocations: 27.88 kB / 0.8241 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007247, allocations: 3.938 kB / 0.8241 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.007254, allocations: 4.297 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007255, allocations: 4 kB / 0.8241 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007257, allocations: 7.938 kB / 0.8241 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.222e-05/0.007349, allocations: 113.5 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.007367, allocations: 15.89 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.143e-05/0.007398, allocations: 7.984 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.112e-05/0.007429, allocations: 11.98 kB / 0.8243 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.007436, allocations: 4 kB / 0.8243 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.93e-05/0.007455, allocations: 27.08 kB / 0.8243 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.007455, allocations: 0 / 0.8243 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001667/0.007622, allocations: 75.73 kB / 0.8244 GB, free: 12.34 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.0001752/0.007797, allocations: 160 kB / 0.8245 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.483e-05/0.007892, allocations: 56.7 kB / 0.8246 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.007896, allocations: 4 kB / 0.8246 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.007939, allocations: 44.77 kB / 0.8246 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.008041, allocations: 22.42 kB / 0.8247 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00092/0.008961, allocations: 230.5 kB / 0.8249 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.352e-05/0.008995, allocations: 67.28 kB / 0.8249 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.807e-05/0.009043, allocations: 19.48 kB / 0.825 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.009102, allocations: 63.38 kB / 0.825 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.009103, allocations: 0 / 0.825 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of Templates: time 0.003722/0.01283, allocations: 2.194 MB / 0.8272 GB, free: 9.441 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.095883022993803]